List:Internals« Previous MessageNext Message »
From:Michael Widenius Date:June 20 2001 8:28pm Subject:Re:
Testing MySQL 4.0 View as plain text     Paul> Hi again, Paul>
As I remember I forget to attach my current patch for sub-
selects (for now Paul> it's mostly for sql_yacc.yy).   Paul> b)
optimize (found non-crossreferenced subqueries and execute them
Paul> before Paul> main query?, other optimizations); Paul> c)
initialize Paul> d) execute Paul> e) free resources Paul> where
initialize/execute/free can be called many times. So, I needs
Paul> a help Paul> to make this work.  >> ok.  Paul> Michael,
can you explain which function sets already used in the stages
Paul> listed above (to find where to split mysql_query())? I'm
not familiar with Paul> MySQL sources... :(((
sql/mysql_select.cc is where the big work should be done.  to
handle the different stages instead of being a big massive
function. The init part and free resources part should be pretty
obvious, but the rest is a bit harder.  Paul> BTW, when I'm