mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
Description
The test, binlog.binlog_spurious_ddl_errors was failing on pb2 at the statement "UNINSTALL PLUGIN example;" with this warning: "Warning 1620 Plugin is busy and will be uninstalled on shutdown " Fix Spurious warnings occur in the test since we do not empty the Query cache, used by the example plugin at the time of creating tables using the plugin. Hence, the query chache is flushed before uninstalling the plugin. Also, as part of running the test across platforms, the plugin installation script is changed.
This commit is contained in:
parent
49adfa3d19
commit
9b904d35af
3 changed files with 4 additions and 2 deletions
|
@ -48,6 +48,7 @@ DROP TABLE t_stmt;
|
|||
################################################################################
|
||||
# CLEAN UP #
|
||||
################################################################################
|
||||
flush tables;
|
||||
UNINSTALL PLUGIN example;
|
||||
SET @@global.binlog_format = @old_binlog_format;
|
||||
SET @@session.binlog_format = @old_binlog_format;
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
--source include/have_log_bin.inc
|
||||
|
||||
SET @old_binlog_format= @@global.binlog_format;
|
||||
INSTALL PLUGIN example SONAME 'ha_example.so';
|
||||
--replace_regex /\.dll/.so/
|
||||
eval INSTALL PLUGIN example SONAME '$EXAMPLE_PLUGIN';
|
||||
|
||||
--echo ################################################################################
|
||||
--echo # Verifies if ER_BINLOG_STMT_MODE_AND_ROW_ENGINE happens by setting the binlog
|
||||
|
@ -90,6 +91,7 @@ DROP TABLE t_stmt;
|
|||
--echo ################################################################################
|
||||
--echo # CLEAN UP #
|
||||
--echo ################################################################################
|
||||
flush tables;
|
||||
UNINSTALL PLUGIN example;
|
||||
SET @@global.binlog_format = @old_binlog_format;
|
||||
SET @@session.binlog_format = @old_binlog_format;
|
||||
|
|
|
@ -10,4 +10,3 @@
|
|||
#
|
||||
##############################################################################
|
||||
binlog_truncate_innodb : BUG#11764459 2010-10-20 anitha Originally disabled due to BUG#42643. Product bug fixed, but test changes needed
|
||||
binlog_spurious_ddl_errors : BUG#11761680 2010-06-03 alik binlog_spurious_ddl_errors.test fails, thus disabled
|
||||
|
|
Loading…
Add table
Reference in a new issue