• unknown's avatar
    BUG#6883: Added tests for create/drop temporary table, UNLOCK TABLES · de78f2e5
    unknown authored
    If a create table can not do implicit commit, the stmt now fails
    CREATE/DROP TEMPORARY TABLE is now flushed to binlog
    
    
    mysql-test/include/rpl_stmt_seq.inc:
      Documentation, cleared up code
    mysql-test/r/rpl_ddl.result:
      New results
    mysql-test/t/rpl_ddl.test:
      Added tests for create/drop temporary table
      Added tests for different types of locks in UNLOCK TABLES
      Cleared up code/documentation
    sql/sql_parse.cc:
      If A CREATE TABLE fails to do implicit commit, then the stmt now fails (DROP works in same way)
      CREATE/DROP TEMOPORARY TABLE is now flushed to binlog
    de78f2e5
rpl_ddl.test 11.2 KB