T@6    : dispatch_command: query: SHOW SLAVE STATUS
T@6    : dispatch_command: query: SELECT 'No such row' = 'No such row'
T@6    : dispatch_command: query: select count(*) from mysql.proc
T@6    : dispatch_command: query: call mtr.check_testcase()
T@6    : dispatch_command: query: select @@datadir
T@6    : dispatch_command: query: SELECT COUNT(*)=1 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'wsrep' AND PLUGIN_STATUS='ACTIVE'
T@6    : dispatch_command: query: CREATE TABLE t1 (a INT)
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_SHARED_UPGRADABLE)
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_EXCLUSIVE)
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_EXCLUSIVE)
T@6    : MDL_context::release_lock: mdl: Released: test/t1 (MDL_EXCLUSIVE)
T@6    : dispatch_command: query: CREATE TABLE t2 (b INT)
T@6    : dispatch_command: query: CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW UPDATE t2 SET b = 0
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_SHARED_NO_WRITE)
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_SHARED_NO_WRITE)
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_EXCLUSIVE)
T@6    : MDL_context::release_lock: mdl: Released: test/t1 (MDL_EXCLUSIVE)
T@6    : dispatch_command: query: CREATE TRIGGER tr2 BEFORE INSERT ON t2 FOR EACH ROW UPDATE t1 SET a = 6
T@6    : dispatch_command: query: CREATE VIEW v1 AS SELECT * FROM t1
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/v1 (MDL_EXCLUSIVE)
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/v1 (MDL_EXCLUSIVE)
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_SHARED_READ)
T@6    : MDL_context::release_lock: mdl: Released: test/t1 (MDL_SHARED_READ)
T@6    : MDL_context::release_lock: mdl: Released: test/v1 (MDL_EXCLUSIVE)
T@6    : dispatch_command: query: SET AUTOCOMMIT=OFF
T@6    : dispatch_command: query: SELECT * FROM t1
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_SHARED_READ)
T@7    : dispatch_command: query: DROP TRIGGER tr1
T@6    : dispatch_command: query: INSERT INTO t2 SELECT * FROM t2
T@7    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_SHARED_NO_WRITE)
T@7    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_SHARED_NO_WRITE)
T@7    : MDL_context::acquire_lock: mdl: Waiting: test/t1 (MDL_EXCLUSIVE)
T@6    : MDL_context::acquire_lock: mdl: Waiting: test/t1 (MDL_SHARED_WRITE)
T@6    : MDL_context::acquire_lock: mdl: Deadlock: test/t1 (MDL_SHARED_WRITE)
T@6    : MDL_context::acquire_lock: exit: Existing locks:
    test/t1 (MDL_SHARED_READ) (granted)
    test/t1 (MDL_SHARED_NO_WRITE) (granted)
    test/t1 (MDL_EXCLUSIVE) (waiting)
T@6    : MDL_context::release_lock: mdl: Released: test/t1 (MDL_SHARED_READ)
T@7    : MDL_context::acquire_lock: mdl: Acquired: test/t1 (MDL_EXCLUSIVE)
T@6    : dispatch_command: query: SELECT f() FROM t2
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/f (MDL_SHARED)
T@7    : MDL_context::release_lock: mdl: Released: test/t1 (MDL_EXCLUSIVE)
T@8    : dispatch_command: query: ALTER VIEW v1 AS SELECT f() FROM t1
T@7    : dispatch_command: query: CREATE FUNCTION f() RETURNS INT RETURN 1
T@6    : dispatch_command: query: SELECT * FROM ( SELECT * FROM v1 ) sq
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/v1 (MDL_SHARED_READ)
T@8    : MDL_context::acquire_lock: mdl: Waiting: test/v1 (MDL_EXCLUSIVE)
T@7    : MDL_context::acquire_lock: mdl: Waiting: test/f (MDL_EXCLUSIVE)
T@6    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_SHARED_READ)
T@6    : dispatch_command: query: COMMIT
T@6    : MDL_context::release_lock: mdl: Released: test/t1 (MDL_SHARED_READ)
T@6    : MDL_context::release_lock: mdl: Released: test/v1 (MDL_SHARED_READ)
T@6    : MDL_context::release_lock: mdl: Released: test/f (MDL_SHARED)
T@8    : MDL_context::acquire_lock: mdl: Acquired: test/v1 (MDL_EXCLUSIVE)
T@8    : MDL_context::acquire_lock: mdl: Seized:   test/v1 (MDL_EXCLUSIVE)
T@7    : MDL_context::acquire_lock: mdl: Acquired: test/f (MDL_EXCLUSIVE)
T@8    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_SHARED_READ)
T@8    : MDL_context::acquire_lock: mdl: Waiting: test/f (MDL_SHARED)
T@7    : MDL_context::release_lock: mdl: Released: test/f (MDL_EXCLUSIVE)
T@8    : MDL_context::acquire_lock: mdl: Acquired: test/f (MDL_SHARED)
T@8    : MDL_context::release_lock: mdl: Released: test/f (MDL_SHARED)
T@8    : MDL_context::release_lock: mdl: Released: test/t1 (MDL_SHARED_READ)
T@8    : MDL_context::release_lock: mdl: Released: test/v1 (MDL_EXCLUSIVE)
T@8    : dispatch_command: query: DROP VIEW v1
T@8    : MDL_context::acquire_lock: mdl: Seized:   test/v1 (MDL_EXCLUSIVE)
T@8    : MDL_context::release_lock: mdl: Released: test/v1 (MDL_EXCLUSIVE)
T@8    : dispatch_command: query: DROP FUNCTION f
T@8    : MDL_context::acquire_lock: mdl: Seized:   test/f (MDL_EXCLUSIVE)
T@8    : MDL_context::release_lock: mdl: Released: test/f (MDL_EXCLUSIVE)
T@8    : dispatch_command: query: DROP TABLE t1, t2
T@8    : MDL_context::acquire_lock: mdl: Seized:   test/t1 (MDL_EXCLUSIVE)
T@8    : MDL_context::release_lock: mdl: Released: test/t1 (MDL_EXCLUSIVE)
T@8    : dispatch_command: query: set SQL_LOG_BIN=0
T@8    : dispatch_command: query: set WSREP_ON=0
T@8    : dispatch_command: query: set debug_dbug=""
T@6    : dispatch_command: query: SHOW SLAVE STATUS
T@6    : dispatch_command: query: SELECT 'No such row' = 'No such row'
T@6    : dispatch_command: query: select count(*) from mysql.proc
T@6    : dispatch_command: query: call mtr.check_testcase()
T@6    : dispatch_command: query: select @@datadir
T@6    : dispatch_command: query: SELECT COUNT(*)=1 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'wsrep' AND PLUGIN_STATUS='ACTIVE'

User time 0.20, System time 0.07
Maximum resident set size 131148, Integral resident set size 0
Non-physical pagefaults 26946, Physical pagefaults 0, Swaps 0
Blocks in 0 out 2184, Messages in 0 out 0, Signals 0
Voluntary context switches 131, Involuntary context switches 26
