• Michael Widenius's avatar
    MDEV-5930 Server crashes in thd_get_ha_data on CREATE OR REPLACE TABLE · 9aac5468
    Michael Widenius authored
    mysql-test/r/create_or_replace.result:
      More tests for create or replace
    mysql-test/t/create_or_replace.test:
      More tests for create or replace
    sql/log.cc:
      Don't use binlog_hton if binlog is not enabmed
    sql/sql_base.cc:
      We have to call restart_trans_for_tables also if tables where not locked with LOCK TABLES.
      If not, we will get a crash in TokuDB
    sql/sql_insert.cc:
      Don't call binlog_reset_cache() if we don't have binary log open
    sql/sql_table.cc:
      Don't log to binary log if not open
      Better test if we where using create or replace ... select
    storage/tokudb/mysql-test/tokudb_mariadb/r/create_or_replace.result:
      More tests for create or replace
    storage/tokudb/mysql-test/tokudb_mariadb/t/create_or_replace.test:
      More tests for create or replace
    9aac5468
create_or_replace.test 8.62 KB