add tests
This commit is contained in:

committed by
Markus Mäkelä

parent
dbfd631fed
commit
8c6ca38a8a
@ -0,0 +1,11 @@
|
||||
USE test;
|
||||
DROP DATABASE If EXISTS FOO;
|
||||
SET autocommit=1;
|
||||
BEGIN;
|
||||
CREATE DATABASE FOO;
|
||||
SELECT (@@server_id) INTO @a;
|
||||
SELECT IF(@a <> @TMASTER_ID,'OK (slave)','FAIL (master)') AS result;
|
||||
result
|
||||
OK (slave)
|
||||
DROP DATABASE FOO;
|
||||
COMMIT;
|
Reference in New Issue
Block a user