diff --git a/mysql-test/suite/sys_vars/r/innodb_lock_schedule_algorithm_basic.result b/mysql-test/suite/sys_vars/r/innodb_lock_schedule_algorithm_basic.result new file mode 100644 index 000000000000..b191d7f000a4 --- /dev/null +++ b/mysql-test/suite/sys_vars/r/innodb_lock_schedule_algorithm_basic.result @@ -0,0 +1,12 @@ +SELECT @@global.innodb_lock_schedule_algorithm; +@@global.innodb_lock_schedule_algorithm +vats +SET GLOBAL innodb_lock_schedule_algorithm = 'FCFS'; +SELECT @@global.innodb_lock_schedule_algorithm; +@@global.innodb_lock_schedule_algorithm +fcfs +SET GLOBAL innodb_lock_schedule_algorithm = 'VATS'; +SELECT @@global.innodb_lock_schedule_algorithm; +@@global.innodb_lock_schedule_algorithm +vats +SET GLOBAL innodb_lock_schedule_algorithm = 'VATS'; diff --git a/mysql-test/suite/sys_vars/t/innodb_lock_schedule_algorithm_basic.test b/mysql-test/suite/sys_vars/t/innodb_lock_schedule_algorithm_basic.test index 3c515cb81cbd..9f5d31c438df 100644 --- a/mysql-test/suite/sys_vars/t/innodb_lock_schedule_algorithm_basic.test +++ b/mysql-test/suite/sys_vars/t/innodb_lock_schedule_algorithm_basic.test @@ -1,14 +1,14 @@ -- source include/have_innodb.inc -# This is a debug variable for now --- source include/have_debug.inc -SELECT @@global.innodb_lock_schedule_algorithm_basic; +SELECT @@global.innodb_lock_schedule_algorithm; -SET GLOBAL innodb_lock_schedule_algorithm_basic= 'FCFS'; +SET GLOBAL innodb_lock_schedule_algorithm = 'FCFS'; -SELECT @@global.innodb_buffer_pool_evict; +SELECT @@global.innodb_lock_schedule_algorithm; -SET GLOBAL innodb_lock_schedule_algorithm_basic= 'VATS'; +SET GLOBAL innodb_lock_schedule_algorithm = 'VATS'; -SELECT @@global.innodb_lock_schedule_algorithm_basic; +SELECT @@global.innodb_lock_schedule_algorithm; +# Reset state +SET GLOBAL innodb_lock_schedule_algorithm = 'VATS';