mariadb/mysql-test/suite/rpl
anozdrin/alik@ibm.opbmk d6f94b062c Fix for BUG#25843: changing default database between PREPARE and EXECUTE
of statement breaks binlog.

There were two problems discovered by this bug:

  1. Default (current) database is not fixed at the creation time.
     That leads to wrong output of DATABASE() function.

  2. Database attributes (@@collation_database) are not fixed at
     the creation time. That leads to wrong resultset.

Binlog breakage and Query Cache wrong output happened because of
the first problem.

The fix is to remember the current database at the PREPARE-time and
set it each time at EXECUTE.
2007-08-31 20:42:14 +04:00
..
data updates caused by 5.1.16 2007-02-08 10:03:17 +01:00
include fixed diff 2007-08-15 18:41:18 +04:00
r Fix for BUG#25843: changing default database between PREPARE and EXECUTE 2007-08-31 20:42:14 +04:00
t Fix for BUG#25843: changing default database between PREPARE and EXECUTE 2007-08-31 20:42:14 +04:00
README copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00

How to run.
===========

./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed