mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixes to PB failiurs
mysql-test/suite/sys_vars/r/pseudo_thread_id_basic.result: Uodated result file mysql-test/suite/sys_vars/t/pseudo_thread_id_basic.test: Added code to explain the failiure mysql-test/suite/sys_vars/t/rpl_semi_sync_master_enabled_basic.test: Added code to handle diff result outpt in windows (dll vs. so) mysql-test/suite/sys_vars/t/rpl_semi_sync_master_timeout_basic.test: Added code to handle diff result outpt in windows (dll vs. so) mysql-test/suite/sys_vars/t/rpl_semi_sync_master_trace_level_basic.test: Added code to handle diff result outpt in windows (dll vs. so) mysql-test/suite/sys_vars/t/rpl_semi_sync_master_wait_no_slave_basic.test: Added code to handle diff result outpt in windows (dll vs. so) mysql-test/suite/sys_vars/t/rpl_semi_sync_slave_enabled_basic.test: Added code to handle diff result outpt in windows (dll vs. so) mysql-test/suite/sys_vars/t/rpl_semi_sync_slave_trace_level_basic.test: Added code to handle diff result outpt in windows (dll vs. so)
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
select @@global.pseudo_thread_id;
|
||||
ERROR HY000: Variable 'pseudo_thread_id' is a SESSION variable
|
||||
select @@session.pseudo_thread_id between 1 and 1000;
|
||||
@@session.pseudo_thread_id between 1 and 1000
|
||||
select @@session.pseudo_thread_id between 1 and 10000;
|
||||
@@session.pseudo_thread_id between 1 and 10000
|
||||
1
|
||||
select @@session.pseudo_thread_id;
|
||||
@@session.pseudo_thread_id
|
||||
2
|
||||
should be empty
|
||||
show global variables like 'pseudo_thread_id';
|
||||
Variable_name Value
|
||||
|
@ -24,7 +24,10 @@
|
||||
if (`SELECT @@have_dynamic_loading = 'YES' AND LENGTH('$SEMISYNC_MASTER_PLUGIN') > 0`)
|
||||
{
|
||||
--disable_query_log
|
||||
# The following is to prevent a mis-match on windows that has the name of of the lib ending with 'dll'
|
||||
--replace_regex /\.dll/.so/
|
||||
eval INSTALL PLUGIN rpl_semi_sync_master SONAME '$SEMISYNC_MASTER_PLUGIN';
|
||||
--replace_regex /\.dll/.so/
|
||||
eval INSTALL PLUGIN rpl_semi_sync_slave SONAME '$SEMISYNC_SLAVE_PLUGIN';
|
||||
--enable_query_log
|
||||
}
|
||||
|
@ -10,7 +10,8 @@
|
||||
select @@global.pseudo_thread_id;
|
||||
|
||||
# Check the variable has a valid numeric value (assumed to be less then 10000)
|
||||
select @@session.pseudo_thread_id between 1 and 1000;
|
||||
select @@session.pseudo_thread_id between 1 and 10000;
|
||||
select @@session.pseudo_thread_id;
|
||||
|
||||
--echo should be empty
|
||||
show global variables like 'pseudo_thread_id';
|
||||
|
@ -6,6 +6,8 @@
|
||||
#
|
||||
#
|
||||
source include/have_semisync_plugin.inc;
|
||||
# The following is to prevent a mis-match on windows that has the name of of the lib ending with 'dll'
|
||||
--replace_regex /\.dll/.so/
|
||||
eval INSTALL PLUGIN rpl_semi_sync_master SONAME '$SEMISYNC_MASTER_PLUGIN';
|
||||
select @@global.rpl_semi_sync_master_enabled;
|
||||
SET @start_global_value = @@global.rpl_semi_sync_master_enabled;
|
||||
|
@ -5,6 +5,8 @@
|
||||
# 2010-01-21 OBN - Added
|
||||
#
|
||||
source include/have_semisync_plugin.inc;
|
||||
# The following is to prevent a mis-match on windows that has the name of of the lib ending with 'dll'
|
||||
--replace_regex /\.dll/.so/
|
||||
eval INSTALL PLUGIN rpl_semi_sync_master SONAME '$SEMISYNC_MASTER_PLUGIN';
|
||||
select @@global.rpl_semi_sync_master_timeout;
|
||||
SET @start_global_value = @@global.rpl_semi_sync_master_timeout;
|
||||
|
@ -5,6 +5,8 @@
|
||||
# 2010-01-21 OBN - Added
|
||||
#
|
||||
source include/have_semisync_plugin.inc;
|
||||
# The following is to prevent a mis-match on windows that has the name of of the lib ending with 'dll'
|
||||
--replace_regex /\.dll/.so/
|
||||
eval INSTALL PLUGIN rpl_semi_sync_master SONAME '$SEMISYNC_MASTER_PLUGIN';
|
||||
select @@global.rpl_semi_sync_master_trace_level;
|
||||
SET @start_global_value = @@global.rpl_semi_sync_master_trace_level;
|
||||
|
@ -6,6 +6,8 @@
|
||||
#
|
||||
#
|
||||
source include/have_semisync_plugin.inc;
|
||||
# The following is to prevent a mis-match on windows that has the name of of the lib ending with 'dll'
|
||||
--replace_regex /\.dll/.so/
|
||||
eval INSTALL PLUGIN rpl_semi_sync_master SONAME '$SEMISYNC_MASTER_PLUGIN';
|
||||
select @@global.rpl_semi_sync_master_wait_no_slave;
|
||||
SET @start_global_value = @@global.rpl_semi_sync_master_wait_no_slave;
|
||||
|
@ -6,6 +6,8 @@
|
||||
#
|
||||
#
|
||||
source include/have_semisync_plugin.inc;
|
||||
# The following is to prevent a mis-match on windows that has the name of of the lib ending with 'dll'
|
||||
--replace_regex /\.dll/.so/
|
||||
eval INSTALL PLUGIN rpl_semi_sync_slave SONAME '$SEMISYNC_SLAVE_PLUGIN';
|
||||
select @@global.rpl_semi_sync_slave_enabled;
|
||||
SET @start_global_value = @@global.rpl_semi_sync_slave_enabled;
|
||||
|
@ -5,6 +5,8 @@
|
||||
# 2010-01-21 OBN - Added
|
||||
#
|
||||
source include/have_semisync_plugin.inc;
|
||||
# The following is to prevent a mis-match on windows that has the name of of the lib ending with 'dll'
|
||||
--replace_regex /\.dll/.so/
|
||||
eval INSTALL PLUGIN rpl_semi_sync_slave SONAME '$SEMISYNC_SLAVE_PLUGIN';
|
||||
select @@global.rpl_semi_sync_slave_trace_level;
|
||||
SET @start_global_value = @@global.rpl_semi_sync_slave_trace_level;
|
||||
|
Reference in New Issue
Block a user