diff options
author | Ramil Kalimullin <ramil@mysql.com> | 2009-07-15 15:25:44 +0500 |
---|---|---|
committer | Ramil Kalimullin <ramil@mysql.com> | 2009-07-15 15:25:44 +0500 |
commit | 422696d673dececd0feb54c28d05327bf4825834 (patch) | |
tree | ca1a119b56712a1d6ae6705067d05a8b9ecc8380 | |
parent | 0ad57bef5dafbd0f7bdab4b43790f30efb614034 (diff) | |
download | mariadb-git-422696d673dececd0feb54c28d05327bf4825834.tar.gz |
Addition to #45998 fix, result adjusted.
-rw-r--r-- | mysql-test/suite/binlog/r/binlog_stm_binlog.result | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/suite/binlog/r/binlog_stm_binlog.result b/mysql-test/suite/binlog/r/binlog_stm_binlog.result index d151e31269f..d05d3ccdb7a 100644 --- a/mysql-test/suite/binlog/r/binlog_stm_binlog.result +++ b/mysql-test/suite/binlog/r/binlog_stm_binlog.result @@ -773,3 +773,14 @@ show master status /* must show new binlog index after rotating */; File Position Binlog_Do_DB Binlog_Ignore_DB master-bin.000002 106 drop table t3; +# +# Bug #45998: database crashes when running "create as select" +# +CREATE DATABASE test1; +USE test1; +DROP DATABASE test1; +CREATE TABLE test.t1(a int); +INSERT INTO test.t1 VALUES (1), (2); +CREATE TABLE test.t2 SELECT * FROM test.t1; +USE test; +DROP TABLES t1, t2; |