• unknown's avatar
    now we create temporary join for all queries with subqueries to make correct... · a49025d2
    unknown authored
    now we create temporary join for all queries with subqueries to make correct cleunup of tables and avoid too early unlock (BUG#6841)
    
    
    mysql-test/t/subselect_innodb.test:
      possible early unlock
    sql/sql_lex.cc:
      subqueries presence flag
    sql/sql_lex.h:
      subqueries presence flag
    sql/sql_parse.cc:
      subqueries presence flag
    sql/sql_select.cc:
      removed some too optimistic optimisation, now we create temporary join for all queries with subqueries to make correct cleunup of tables and avoid too early unlock
    a49025d2
sql_select.cc 269 KB