Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

PDOStatement::explain() #2

Open
diaspar opened this issue Jun 25, 2013 · 2 comments
Open

PDOStatement::explain() #2

diaspar opened this issue Jun 25, 2013 · 2 comments

Comments

@diaspar
Copy link

diaspar commented Jun 25, 2013

I am getting this error after installation

Fatal error: Call to undefined method PDOStatement::explain() in /usr/local/zend/apache2/htdocs/test/libraries/li3_debug/extensions/storage/Debugger.php on line 211

@leek
Copy link
Owner

leek commented Jun 25, 2013

This was introduced in #1. explain() is most likely a MongoDB only method. I will look into what options are available for MySQL or whether we can just disable this functionality when not using MongoDB.

Thanks for the bug report!

@diaspar
Copy link
Author

diaspar commented Jun 25, 2013

http://dev.mysql.com/doc/refman/5.0/en/explain.html

In mysql case, explain is used to obtain a query execution plan.

The symfony debug toolbar has an explain action under each executed query. Not sure if the info provided comes from the ORM abstraction (doctrine).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants