mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
a5e248d402
- Updated slow_query_log_file_basic and general_log_file basis instead of the func version as the func version run good but the basic versions fail. - Sent innodb.test to dev@innodb.com. - variables.test has differences probably due to a bug in mtr or in the SET statement (see bug#39369). - general_log_file_basic.test and slow_query_log_file_bsaic.test have differences, which might be produced by the new mtr (see bug#38124).
30 lines
968 B
Text
30 lines
968 B
Text
SET @start_value= @@global.innodb_max_dirty_pages_pct;
|
|
'#--------------------FN_DYNVARS_044_02-------------------------#'
|
|
SET @@global.innodb_max_dirty_pages_pct = 80;
|
|
'connect (con1,localhost,root,,,,)'
|
|
SELECT @@global.innodb_max_dirty_pages_pct;
|
|
@@global.innodb_max_dirty_pages_pct
|
|
80
|
|
SET @@global.innodb_max_dirty_pages_pct = 70;
|
|
'connect (con2,localhost,root,,,,)'
|
|
SELECT @@global.innodb_max_dirty_pages_pct;
|
|
@@global.innodb_max_dirty_pages_pct
|
|
70
|
|
'#--------------------FN_DYNVARS_044_02-------------------------#'
|
|
'connection default'
|
|
'---Check when innodb_max_dirty_pages_pct is 10---'
|
|
SET @@global.innodb_max_dirty_pages_pct = 10;
|
|
FLUSH STATUS;
|
|
CALL add_until(10);
|
|
FLUSH TABLES;
|
|
CALL add_records(500);
|
|
'We expect dirty pages pct to be BELOW_MAX'
|
|
CALL check_pct(10);
|
|
PCT_VALUE
|
|
BELOW_MAX
|
|
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= @start_value;
|