Added missing test files for rwsplit router tests.

This commit is contained in:
VilhoRaatikka
2014-04-16 10:25:32 +03:00
parent c994c81a0e
commit 81af54730a
4 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,7 @@
-- Read from slave after implicit COMMIT
USE test;
START TRANSACTION;
CREATE TABLE IF NOT EXISTS T2 (id integer);
INSERT INTO T2 VALUES (@@server_id);
SET AUTOCOMMIT=oN;
SELECT id from T2; -- read transaction's modifications from slave