mariadb/mysql-test/suite/wsrep
Nirbhay Choubey 90f222ea7d MDEV-10235: Deadlock in CREATE TABLE .. AS SELECT .. if result set is empty in Galera
In CTAS, handlers get registered under statement transaction
(st_transactions::stmt), while ha_fake_trx_id(), used by CTAS,
looked under standard transaction (st_transactions::all) for
registered handlers, and thus it failed to grab a fake transaction
ID. As a result, with no valid transaction ID, wsrep commit failed
with an error.

ha_fake_trx_id() now looks for handlers registered under 'stmt'
in case 'all' is empty. Also modified the logic to print warning
only once if none of the registered handlers have fake_trx_id.
2016-06-27 18:21:00 -04:00
..
include MDEV-7560: wsrep* tests depend on the version of galera library 2015-02-27 22:16:37 -05:00
r MDEV-10235: Deadlock in CREATE TABLE .. AS SELECT .. if result set is empty in Galera 2016-06-27 18:21:00 -04:00
t MDEV-10235: Deadlock in CREATE TABLE .. AS SELECT .. if result set is empty in Galera 2016-06-27 18:21:00 -04:00
disabled.def Merge branch '10.0-galera' into 10.1 2015-07-14 16:05:29 -04:00
my.cnf Merge branch '10.0-galera' into 10.1 2015-07-14 16:05:29 -04:00
README Minor modifications 2014-10-04 13:53:33 -04:00
suite.pm Test cleanup: Remove unnecessary global suppressions 2016-06-27 18:17:03 -04:00

* 'wsrep' suite is designated for tests which do not require a multi-node
  galera cluster.

* As these tests are specific to wsrep-related functionalities, they must skip
  on server built without wsrep patch (vanilla). (-DWITH_WSREP=OFF)
  See : include/have_wsrep.inc, include/have_wsrep_enabled.inc, not_wsrep.inc