MySQL Forums
Forum List  »  Docs

explain mode
Posted by: yk
Date: September 20, 2004 04:44AM

Hi,
I hope this is the right forum to make a suggestion to the mysql developers.
I often write programs doing lengthy series of queries and using the mysql shell.
During development, I like to see the 'explain' results prepended to every query.
In order to do this, I had to write a simple parser to extract the select part of the queries etc etc.
This solution mostly works, but it is not particularly pretty.
I'd prefer using a session environment variable to toggle an 'explain mode'.
Is this anything the mysql developers have considered, or are there already better ways to achieve this?

Cheers!

YK

Options: ReplyQuote


Subject
Views
Written By
Posted
explain mode
4112
yk
September 20, 2004 04:44AM
2791
September 20, 2004 08:53AM
2684
yk
September 22, 2004 01:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.