mirror of
https://github.com/MariaDB/server.git
synced 2026-04-17 22:05:35 +02:00
MDEV-6247: Merge 10.0-galera to 10.1.
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.
This commit is contained in:
parent
e974b56438
commit
df4dd593f2
327 changed files with 28128 additions and 333 deletions
49
mysql-test/suite/sys_vars/r/wsrep_recover_basic.result
Normal file
49
mysql-test/suite/sys_vars/r/wsrep_recover_basic.result
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue