mariadb/mysql-test/extra/binlog_tests
Ramil Kalimullin 1e56aea355 Fix for bug#45998: database crashes when running
"create as select" (innodb table)

Problem: code constructing "CREATE TABLE..." statement
doesn't take into account that current database is not set
in some cases. That may lead to a server crash.

Fix: check if current database is set.


mysql-test/extra/binlog_tests/binlog.test:
  Fix for bug#45998: database crashes when running
  "create as select" (innodb table)
    - test case.
mysql-test/suite/binlog/r/binlog_row_binlog.result:
  Fix for bug#45998: database crashes when running
  "create as select" (innodb table)
    - test result.
sql/sql_show.cc:
  Fix for bug#45998: database crashes when running
  "create as select" (innodb table)
    - added check if there's current database set.
2009-07-14 20:07:29 +05:00
..
binlog.test Fix for bug#45998: database crashes when running 2009-07-14 20:07:29 +05:00
binlog_insert_delayed.test BUG#38068: binlog_stm_binlog fails sporadically in pushbuild 2008-07-23 18:56:39 +02:00
binlog_truncate.test Bug #36763 2009-02-06 17:06:41 +01:00
blackhole.test Merging 5.1 main into 5.1-rpl 2008-10-23 21:27:09 +02:00
ctype_cp932.test Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl 2008-02-20 19:49:26 +01:00
ctype_cp932_binlog.test Merge pilot.(none):/data/msvensson/mysql/bug28369/my50-bug28369 2007-06-07 19:19:29 +02:00
ctype_ucs_binlog.test WL#4189 2007-12-12 18:19:24 +01:00
database.test Bug#41888: Test binlog.binlog_database causing binlog_innodb to fail on Pushbuild. 2009-01-12 18:45:35 -05:00
drop_temp_table.test Merge quadxeon:m/srv/quadxeon/local/bk/maint/jun14/50 2007-06-15 18:56:11 +02:00
innodb_stat.test Bug#37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust 2008-09-22 15:15:52 -04:00
insert_select-binlog.test Merge bk-internal:/home/bk/mysql-5.1-new-maint 2007-06-07 15:21:52 -07:00
mix_innodb_myisam_binlog.test Update paths 2008-03-03 10:17:32 +01:00
mix_innodb_myisam_side_effects.test Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl 2008-02-28 12:21:44 +01:00