summaryrefslogtreecommitdiff
path: root/mysql-test/extra/binlog_tests
diff options
context:
space:
mode:
authorAndrei Elkin <aelkin@mysql.com>2009-11-30 20:20:26 +0200
committerAndrei Elkin <aelkin@mysql.com>2009-11-30 20:20:26 +0200
commit070d1909064979656dc7011b9345e7627a57b9e3 (patch)
tree2d1788c10fb236cceb33b0b073390568b163d0fb /mysql-test/extra/binlog_tests
parent101cf81f0bcd57fa15276f1819b4b88f511cf6eb (diff)
parenta6f2076c03bf0b39d7c8f42655b4c6ffe7f3ecb3 (diff)
downloadmariadb-git-070d1909064979656dc7011b9345e7627a57b9e3.tar.gz
mergin 5.1 -> rep+2 -> rep+3. create_table_from_dump issue will be merged on the next step
Diffstat (limited to 'mysql-test/extra/binlog_tests')
-rw-r--r--mysql-test/extra/binlog_tests/drop_temp_table.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/extra/binlog_tests/drop_temp_table.test b/mysql-test/extra/binlog_tests/drop_temp_table.test
index 5616fb4a643..63833c10c14 100644
--- a/mysql-test/extra/binlog_tests/drop_temp_table.test
+++ b/mysql-test/extra/binlog_tests/drop_temp_table.test
@@ -48,6 +48,16 @@ DROP TABLE IF EXISTS tmp2, t;
--enable_warnings
SELECT GET_LOCK("a",10);
+
+#
+# BUG48216 Replication fails on all slaves after upgrade to 5.0.86 on master
+#
+# When the session is closed, any temporary tables of the session are dropped
+# and are binlogged. But it will be binlogged with a wrong database name when
+# the length of the database name('drop-temp-table-test') is greater than the
+# current database name('test').
+#
+USE test;
disconnect con1;
connection con2;