diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2016-04-09 17:03:48 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2016-04-09 17:03:48 +0200 |
commit | cd776fedba3e2902bc25ee206d6e6266e7eb9411 (patch) | |
tree | 95bf82d0e0522c6af708cd28639c82e004b5a264 /mysql-test/r/debug_sync.result | |
parent | f884d233e6a5f68bab846a7bdbd041fc4415ad77 (diff) | |
parent | d516a2ae0cbd09d3b5b1667ec62b421330ab9902 (diff) | |
download | mariadb-git-10.2-connector-c-integ.tar.gz |
Merge branch '10.2' into 10.2-connector-c-integ10.2-connector-c-integ
Diffstat (limited to 'mysql-test/r/debug_sync.result')
-rw-r--r-- | mysql-test/r/debug_sync.result | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/mysql-test/r/debug_sync.result b/mysql-test/r/debug_sync.result index 25fdf523200..8498a908000 100644 --- a/mysql-test/r/debug_sync.result +++ b/mysql-test/r/debug_sync.result @@ -234,44 +234,48 @@ Variable_name Value debug_sync ON - current signal: '' CREATE USER mysqltest_1@localhost; GRANT SUPER ON *.* TO mysqltest_1@localhost; -connection con1, mysqltest_1 +connect con1,localhost,mysqltest_1,,; SET DEBUG_SYNC= 'RESET'; -connection default +disconnect con1; +connection default; DROP USER mysqltest_1@localhost; CREATE USER mysqltest_2@localhost; GRANT ALL ON *.* TO mysqltest_2@localhost; REVOKE SUPER ON *.* FROM mysqltest_2@localhost; -connection con1, mysqltest_2 +connect con1,localhost,mysqltest_2,,; SET DEBUG_SYNC= 'RESET'; ERROR 42000: Access denied; you need (at least one of) the SUPER privilege(s) for this operation -connection default +disconnect con1; +connection default; DROP USER mysqltest_2@localhost; SET DEBUG_SYNC= 'RESET'; DROP TABLE IF EXISTS t1; CREATE TABLE t1 (c1 INT); -connection con1 +connect con1,localhost,root,,; SET DEBUG_SYNC= 'before_lock_tables_takes_lock SIGNAL opened WAIT_FOR flushed'; INSERT INTO t1 VALUES(1); -connection default +connection default; SET DEBUG_SYNC= 'now WAIT_FOR opened'; SET DEBUG_SYNC= 'after_flush_unlock SIGNAL flushed'; FLUSH TABLE t1; -connection con1 -connection default +connection con1; +disconnect con1; +connection default; DROP TABLE t1; SET DEBUG_SYNC= 'RESET'; DROP TABLE IF EXISTS t1; CREATE TABLE t1 (c1 INT); LOCK TABLE t1 READ; -connection con1 +connect con1,localhost,root,,; SET DEBUG_SYNC= 'wait_for_lock SIGNAL locked EXECUTE 2'; INSERT INTO t1 VALUES (1); -connection default +connection default; SET DEBUG_SYNC= 'now WAIT_FOR locked'; UNLOCK TABLES; -connection con1 +connection con1; retrieve INSERT result. -connection default +disconnect con1; +connection default; DROP TABLE t1; SET DEBUG_SYNC= 'RESET'; |