AshishJoshi-asj / zfdebug

Automatically exported from code.google.com/p/zfdebug
Other
0 stars 0 forks source link

Database plugin tries to explain UPDATE/INSERT/DELETE #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
if ($this->_explain && $supportedAdapter) {

should be

if ($this->_explain && $supportedAdapter && stripos($profile->getQuery(), 
"select") === 0) {

Original issue reported on code.google.com by patrik.k...@gmail.com on 9 Jan 2013 at 2:53