mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
Merged lp:maria/maria-10.0-galera up to revision 3879. Added a new functions to handler API to forcefully abort_transaction, producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These were added for future possiblity to add more storage engines that could use galera replication.
50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
SELECT COUNT(@@GLOBAL.wsrep_recover);
|
|
COUNT(@@GLOBAL.wsrep_recover)
|
|
1
|
|
1 Expected
|
|
set @@global.wsrep_recover=ON;
|
|
ERROR HY000: Variable 'wsrep_recover' is a read only variable
|
|
Expected error 'Readonly variable'
|
|
set @@global.wsrep_recover=OFF;
|
|
ERROR HY000: Variable 'wsrep_recover' is a read only variable
|
|
Expected error 'Readonly variable'
|
|
SELECT @@GLOBAL.wsrep_recover = VARIABLE_VALUE
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
WHERE VARIABLE_NAME='wsrep_recover';
|
|
@@GLOBAL.wsrep_recover = VARIABLE_VALUE
|
|
1
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect DOUBLE value: 'OFF'
|
|
1 Expected
|
|
SELECT COUNT(@@GLOBAL.wsrep_recover);
|
|
COUNT(@@GLOBAL.wsrep_recover)
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(VARIABLE_VALUE)
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
WHERE VARIABLE_NAME='wsrep_recover';
|
|
COUNT(VARIABLE_VALUE)
|
|
1
|
|
1 Expected
|
|
SELECT @@wsrep_recover = @@GLOBAL.wsrep_recover;
|
|
@@wsrep_recover = @@GLOBAL.wsrep_recover
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(@@wsrep_recover);
|
|
COUNT(@@wsrep_recover)
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(@@local.wsrep_recover);
|
|
ERROR HY000: Variable 'wsrep_recover' is a GLOBAL variable
|
|
Expected error 'Variable is a GLOBAL variable'
|
|
SELECT COUNT(@@SESSION.wsrep_recover);
|
|
ERROR HY000: Variable 'wsrep_recover' is a GLOBAL variable
|
|
Expected error 'Variable is a GLOBAL variable'
|
|
SELECT COUNT(@@GLOBAL.wsrep_recover);
|
|
COUNT(@@GLOBAL.wsrep_recover)
|
|
1
|
|
1 Expected
|
|
SELECT wsrep_recover = @@SESSION.wsrep_recover;
|
|
ERROR 42S22: Unknown column 'wsrep_recover' in 'field list'
|
|
Expected error 'Readonly variable'
|