mariadb/mysql-test/suite/galera
Raghavendra D Prabhu 1077eef942 PXC-391: Avoid Total Order Isolation (TOI) for LOCAL sql admin commands.
The admin commands in question are:
    > OPTIMIZE
    > REPAIR
    > ANALYZE

For LOCAL or NO_WRITE_TO_BINLOG invocations of these commands, ie

    OPTIMIZE LOCAL TABLE <t1>

they are not binlogged as expected.

Also, in addition, they are not executed under TOI.

Hence, they are not propagated to other nodes.

The effect is same as that of wsrep_on=0.

Also added tests for this.

A WSREP_DEBUG for wsrep_register_hton has also been added.

The galera_flush_local test has also been updated for verifying that effects
of  NO_WRITE_TO_BINLOG / LOCAL are equivalent to wsrep_on=0 from wsrep
perspective.

(cherry picked from commit 5065122f94a8002d4da231528a46f8d9ddbffdc2)

Conflicts:
	sql/sql_admin.cc
	sql/sql_reload.cc
	sql/wsrep_hton.cc
2016-02-22 17:59:06 -05:00
..
include Galera MTR Tests: fixes for mysqldump SST/IST tests 2015-09-09 22:39:28 -04:00
r PXC-391: Avoid Total Order Isolation (TOI) for LOCAL sql admin commands. 2016-02-22 17:59:06 -05:00
t PXC-391: Avoid Total Order Isolation (TOI) for LOCAL sql admin commands. 2016-02-22 17:59:06 -05:00
disabled.def Fix/disable failing tests. 2015-11-15 17:24:47 -05:00
galera_2nodes.cnf Merge galera tests from github.com/codership/mysql-wsrep 2015-05-08 17:43:57 -04:00
galera_2nodes_as_master.cnf Merge galera tests from github.com/codership/mysql-wsrep 2015-05-08 17:43:57 -04:00
galera_2nodes_as_slave.cnf Fix failing test cases 2015-09-14 15:26:50 -04:00
galera_3nodes_as_slave.cnf Fix galera.galera_as_slave_nonprim test. 2015-11-20 12:32:31 -05:00
galera_4nodes.cnf Merge galera tests from github.com/codership/mysql-wsrep 2015-05-08 17:43:57 -04:00
my.cnf Merged r3468 from maria-5.5-galera. 2014-03-27 08:22:29 -04:00
suite.pm Update galera suite global_suppressions. 2015-11-24 14:24:23 -05:00