mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
BUG#37906: innodb_max_dirty_pages_pct_func does not clean up after itself
Made the test innodb_max_dirty_pages_pct_func clean up after itself.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
'#--------------------FN_DYNVARS_044_02-------------------------#'
|
||||
SET @old_innodb_max_dirty_pages_pct= @@global.innodb_max_dirty_pages_pct;
|
||||
SET @@global.innodb_max_dirty_pages_pct = 80;
|
||||
'connect (con1,localhost,root,,,,)'
|
||||
'connection con1'
|
||||
@@ -28,3 +29,5 @@ DROP PROCEDURE add_records;
|
||||
DROP PROCEDURE add_until;
|
||||
DROP PROCEDURE check_pct;
|
||||
DROP FUNCTION dirty_pct;
|
||||
DROP TABLE t1;
|
||||
SET @@global.innodb_max_dirty_pages_pct = @old_innodb_max_dirty_pages_pct;
|
||||
|
||||
@@ -96,4 +96,3 @@ transaction_alloc_block_size_basic_64 : Bug #36522: Some tests of system variabl
|
||||
transaction_prealloc_size_basic_64 : Bug #36522: Some tests of system variables have diffs on 64bit platorms
|
||||
wait_timeout_basic_64 : Bug #36522: Some tests of system variables have diffs on 64bit platorms
|
||||
wait_timeout_func : BUG#36873 2008-07-06 sven wait_timeout_func.test fails randomly
|
||||
innodb_max_dirty_pages_pct_func : BUG#37906 2008-07-06 sven innodb_max_dirty_pages_pct_func does not clean up after itself
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
# Check if setting innodb_max_dirty_pages_pct is changed in new connection#
|
||||
###########################################################################
|
||||
|
||||
SET @old_innodb_max_dirty_pages_pct= @@global.innodb_max_dirty_pages_pct;
|
||||
|
||||
SET @@global.innodb_max_dirty_pages_pct = 80;
|
||||
--echo 'connect (con1,localhost,root,,,,)'
|
||||
connect (con1,localhost,root,,,,);
|
||||
@@ -157,6 +159,8 @@ DROP PROCEDURE add_records;
|
||||
DROP PROCEDURE add_until;
|
||||
DROP PROCEDURE check_pct;
|
||||
DROP FUNCTION dirty_pct;
|
||||
DROP TABLE t1;
|
||||
SET @@global.innodb_max_dirty_pages_pct = @old_innodb_max_dirty_pages_pct;
|
||||
|
||||
##################################################################
|
||||
# End of functionality Testing for innodb_max_dirty_pages_pct #
|
||||
|
||||
Reference in New Issue
Block a user