Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MariaDB/mysql-test/suite/sys_vars/r/     Datei vom 1.9.2026 mit Größe 2 kB image not shown  

SSL wsrep_sst_auth_basic.result   Sprache: Lisp

 

#
# wsrep_sst_auth
#
# default
SELECT @@global.wsrep_sst_auth;
@@global.wsrep_sst_auth
NULL

# scope
SELECT @@session.wsrep_sst_auth;
ERROR HY000: Variable 'wsrep_sst_auth' is a GLOBAL variable
SET @@global.wsrep_sst_auth='user:pass';
SELECT @@global.wsrep_sst_auth;
@@global.wsrep_sst_auth
********

# valid values
SET @@global.wsrep_sst_auth=user;
SELECT @@global.wsrep_sst_auth;
@@global.wsrep_sst_auth
********
SET @@global.wsrep_sst_auth='user:1234';
SELECT @@global.wsrep_sst_auth;
@@global.wsrep_sst_auth
********
SET @@global.wsrep_sst_auth='hyphenated-user-name:';
SELECT @@global.wsrep_sst_auth;
@@global.wsrep_sst_auth
********
SET @@global.wsrep_sst_auth=default;
SELECT @@global.wsrep_sst_auth;
@@global.wsrep_sst_auth
NULL
SET @@global.wsrep_sst_auth=NULL;
SELECT @@global.wsrep_sst_auth;
@@global.wsrep_sst_auth
NULL

# invalid values
SET @@global.wsrep_sst_auth=1;
ERROR 42000: Incorrect argument type to variable 'wsrep_sst_auth'
SELECT @@global.wsrep_sst_auth;
@@global.wsrep_sst_auth
NULL
SET @@global.wsrep_sst_auth=user:pass;
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 ':pass' at line 1
SET @@global.wsrep_sst_auth='user new:pass';
ERROR 42000: Variable 'wsrep_sst_auth' can't be set to the value of 'user new:pass'
SET @@global.wsrep_sst_auth='
user$new:pass';
ERROR 42000: Variable '
wsrep_sst_auth' can't be set to the value of 'user$new:pass'
SET @@global.wsrep_sst_auth="user'new:pass";
ERROR 42000: Variable 'wsrep_sst_auth' can't be set to the value of 'user'new:pass'
SET @@global.wsrep_sst_auth="user;new:pass";
ERROR 42000: Variable 'wsrep_sst_auth' can't be set to the value of 'user;new:pass'
SET @@global.wsrep_sst_auth="
user|new:pass";
ERROR 42000: Variable 'wsrep_sst_auth' can't be set to the value of 'user|new:pass'
SET @@global.wsrep_sst_auth="
user&new:pass";
ERROR 42000: Variable 'wsrep_sst_auth' can't be set to the value of 'user&new:pass'
SET @@global.wsrep_sst_auth="
user\\new:pass";
ERROR 42000: Variable 'wsrep_sst_auth' can't be set to the value of 'user\new:pass'
SET @@global.wsrep_sst_auth="
user\"new:pass";
ERROR 42000: Variable 'wsrep_sst_auth' can't be set to the value of 'user"new:pass'
SET @@global.wsrep_sst_auth="
user\nnew:pass";
ERROR 42000: Variable 'wsrep_sst_auth' can't be set to the value of 'user
new:pass'
SET @@global.wsrep_sst_auth="
user\tnew:pass";
ERROR 42000: Variable 'wsrep_sst_auth' can't be set to the value of 'user new:pass'

# restore the initial value
SET @@global.wsrep_sst_auth = @wsrep_sst_auth_global_saved;
call mtr.add_suppression("
WSREP: Illegal character in variable:");
# End of test

Messung
CHZG
1009710098

¤ Dauer der Verarbeitung: 0.13 Sekunden  ¤

*© Formatika GbR, Deutschland