From 51c0afcd248ad57095fdcf56efec2865ea49bd83 Mon Sep 17 00:00:00 2001 From: Julius Goryavsky Date: Thu, 26 Sep 2024 04:27:56 +0200 Subject: [PATCH] MDEV-34822 addendum: minor test corrections after fix --- mysql-test/suite/galera/r/galera_var_wsrep_mode.result | 4 ++-- mysql-test/suite/galera/t/galera_var_wsrep_mode.test | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mysql-test/suite/galera/r/galera_var_wsrep_mode.result b/mysql-test/suite/galera/r/galera_var_wsrep_mode.result index b5b33fe8ae5..50ab596d540 100644 --- a/mysql-test/suite/galera/r/galera_var_wsrep_mode.result +++ b/mysql-test/suite/galera/r/galera_var_wsrep_mode.result @@ -20,8 +20,8 @@ SET GLOBAL wsrep_mode='A'; ERROR 42000: Variable 'wsrep_mode' can't be set to the value of 'A' SET GLOBAL wsrep_mode=NULL; ERROR 42000: Variable 'wsrep_mode' can't be set to the value of 'NULL' -SET GLOBAL wsrep_mode=128; -ERROR 42000: Variable 'wsrep_mode' can't be set to the value of '128' +SET GLOBAL wsrep_mode=256; +ERROR 42000: Variable 'wsrep_mode' can't be set to the value of '256' SET GLOBAL wsrep_mode=REQUIRED_PRIMARY_KEY,REPLICATE_MYISAM; ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 SET GLOBAL wsrep_mode=1; diff --git a/mysql-test/suite/galera/t/galera_var_wsrep_mode.test b/mysql-test/suite/galera/t/galera_var_wsrep_mode.test index fdb033b0874..6fb3b4977e0 100644 --- a/mysql-test/suite/galera/t/galera_var_wsrep_mode.test +++ b/mysql-test/suite/galera/t/galera_var_wsrep_mode.test @@ -22,7 +22,7 @@ SET GLOBAL wsrep_mode='A'; --error ER_WRONG_VALUE_FOR_VAR SET GLOBAL wsrep_mode=NULL; --error ER_WRONG_VALUE_FOR_VAR -SET GLOBAL wsrep_mode=128; +SET GLOBAL wsrep_mode=256; --error ER_PARSE_ERROR SET GLOBAL wsrep_mode=REQUIRED_PRIMARY_KEY,REPLICATE_MYISAM; #