Commit graph

8 commits

Author SHA1 Message Date
Sergey Petrunya
ca020dfa9e MWL#182: Explain running statements
- Get subqueries to work, part #1.
2011-10-28 02:30:02 +04:00
Sergey Petrunya
ba09d25abc Fix typo bug in UNION handling, add tests for SHOW EXPLAIN for UNION. 2011-10-27 21:34:41 +04:00
Sergey Petrunya
2bf31b0941 Don't run show_explain.test for embedded server (the patch explains why) 2011-09-26 18:24:49 +04:00
Sergey Petrunya
27f760143c - Testing: add DBUG_EXECUTE_IF("show_explain_probe_2"... which fires
only for selects with given select_id.
- Steps towards making SHOW EXPLAIN work for UNIONs.
2011-09-25 13:05:58 +04:00
Sergey Petrunya
203bbfe569 MWL#182: Explain running statements
- Implement new approach to testing (the DBUG_EXECUTE_IF variant)
- add an 'evalp' mysqltest command that is like 'eval' except that
  it prints the original query.
- Fix select_describe() not to change join_tab[i]->type
- More tests
2011-09-24 21:56:42 +04:00
Sergey Petrunya
d9045bce1d -Make show_explain.test stable
- Fix st_select_lex::set_explain_type() to allow producing exactly the 
  same EXPLAINs as it did before. SHOW EXPLAIN output may produce 
  select_type=SIMPLE instead or select_type=PRIMARY or vice versa (which
  is ok because values of select_type weren't self-consistent in this 
  regard to begin with)
2011-08-27 09:47:21 +04:00
Sergey Petrunya
0a08933036 MWL#182: Explain running statements
- Added TODO comments
2011-08-25 12:15:29 +04:00
Sergey Petrunya
84cb5de047 MWL#182: Explain running statements
- Further progress with the code
- Testcases.
2011-08-24 14:41:13 +04:00