diff options
author | unknown <Kristofer.Pettersson@naruto.> | 2007-04-05 21:53:02 +0200 |
---|---|---|
committer | unknown <Kristofer.Pettersson@naruto.> | 2007-04-05 21:53:02 +0200 |
commit | 393e2aa9d5bbaad68c5c2624a714b1553dfb2075 (patch) | |
tree | 0e7b3e6a251b19b6d3c98510d6a202a16add0df4 /mysql-test/t/mysqldump.test | |
parent | c1020aa4c67d48e061065f60400127d04a0adb30 (diff) | |
download | mariadb-git-393e2aa9d5bbaad68c5c2624a714b1553dfb2075.tar.gz |
Bug#26121 mysqldump includes LOCK TABLES general_log WRITE
- Giving the directive '--all-databases' to mysqldump caused
an attempt to lock and dump log tables which don't support this
operation.
- With this patch the log tables are excluded from the set of
databases tables to dump.
client/mysqldump.c:
- Ignore log tables which can't be locked.
mysql-test/t/mysqldump.test:
Added test
Diffstat (limited to 'mysql-test/t/mysqldump.test')
-rw-r--r-- | mysql-test/t/mysqldump.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/mysqldump.test b/mysql-test/t/mysqldump.test index d9372ad35c1..aa4f22c8a39 100644 --- a/mysql-test/t/mysqldump.test +++ b/mysql-test/t/mysqldump.test @@ -1546,6 +1546,13 @@ drop view v1; drop table t1; drop database mysqldump_test_db; +# +# BUG#26121 mysqldump includes LOCK TABLES general_log WRITE +# +--exec $MYSQL_DUMP --all-databases > $MYSQLTEST_VARDIR/tmp/bug26121.sql +--exec $MYSQL < $MYSQLTEST_VARDIR/tmp/bug26121.sql +--remove_file $MYSQLTEST_VARDIR/tmp/bug26121.sql + --echo # --echo # End of 5.1 tests --echo # |