• unknown's avatar
    make JOIN::prepare, JOIN::optimize only once for EXPLAIN of derived table · 1f739ca4
    unknown authored
    (BUG#2120 sfter merge)
    
    
    mysql-test/r/derived.result:
      correct results of derived tble EXPLAIN
      test of "Using Index" with derived tables
    mysql-test/t/derived.test:
      test of "Using Index" with derived tables
    sql/mysql_priv.h:
      way to force derived table save JOIN after execution
    sql/sql_derived.cc:
      way to force derived table save JOIN after execution
    sql/sql_lex.h:
      way to force derived table save JOIN after execution
    sql/sql_select.cc:
      make JOIN::prepare, JOIN::optimize only once for EXPLAIN of derived table
    1f739ca4
derived.test 9.67 KB