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,9 @@
USE test;
SET autocommit = oFf;
CREATE TABLE IF NOT EXISTS myCity (a int, b char(20));
INSERT INTO myCity VALUES (1, 'Milan');
INSERT INTO myCity VALUES (2, 'London');
COMMIT;
DELETE FROM myCity; -- implicit transaction started
SELECT COUNT(*) FROM myCity; -- read transaction's modifications from master
COMMIT;