• unknown's avatar
    fixed detection of updating table on which we select (BUG#6032) · 9f9893c9
    unknown authored
    
    mysql-test/r/view.result:
      Trys update table from which we select using views and subqueries
    mysql-test/t/view.test:
      Trys update table from which we select using views and subqueries
    sql/sql_acl.cc:
      fix of fix for bug BUG#5976
    sql/sql_base.cc:
      protection against temporary tables which have not table->table->table_cache_key
      fixed unique check to skip the same table instences
    sql/sql_delete.cc:
      removed next_independent to allow to check VIEW subqueries
    sql/sql_insert.cc:
      removed next_independent to allow to check VIEW subqueries
    sql/sql_parse.cc:
      removed next_independent to allow to check VIEW subqueries
    sql/sql_update.cc:
      removed next_independent to allow to check VIEW subqueries
    sql/sql_view.cc:
      removed next_independent to allow to check VIEW subqueries
      optimisation to mark as non-updatable views with subqueries by same table.
    sql/table.h:
      removed next_independent to allow to check VIEW subqueries
    9f9893c9
view.result 49.2 KB