summaryrefslogtreecommitdiff
path: root/mysql-test/r/sp_sync.result
diff options
context:
space:
mode:
authorDmitry Shulga <Dmitry.Shulga@oracle.com>2011-06-24 00:02:58 +0700
committerDmitry Shulga <Dmitry.Shulga@oracle.com>2011-06-24 00:02:58 +0700
commite42a24e58c45c02d5c7561efde094769fdd57164 (patch)
treef8c73e20154892449146f9b034ae2b7c5210d353 /mysql-test/r/sp_sync.result
parent7545f86670f6599dacaf934eb2932338529169b9 (diff)
parentbc7af1757939f1ec3c389da73176c7c68a8bafd5 (diff)
downloadmariadb-git-e42a24e58c45c02d5c7561efde094769fdd57164.tar.gz
Manual merge of patch for bug#11756013 from mysql-5.1 tree.
Diffstat (limited to 'mysql-test/r/sp_sync.result')
-rw-r--r--mysql-test/r/sp_sync.result16
1 files changed, 14 insertions, 2 deletions
diff --git a/mysql-test/r/sp_sync.result b/mysql-test/r/sp_sync.result
index 174b3c60745..ba90b009ce4 100644
--- a/mysql-test/r/sp_sync.result
+++ b/mysql-test/r/sp_sync.result
@@ -1,4 +1,4 @@
-Tests of syncronization of stored procedure execution.
+Tests of synchronization of stored procedure execution.
SET DEBUG_SYNC= 'RESET';
#
# Bug #30977 Concurrent statement using stored function and
@@ -92,4 +92,16 @@ COUNT(f1(a))
DROP PROCEDURE p1;
DROP FUNCTION f1;
DROP TABLES t0, t1;
-SET DEBUG_SYNC= 'RESET';
+#
+# test for bug#11756013
+#
+DROP SCHEMA IF EXISTS s1;
+CREATE SCHEMA s1;
+CREATE PROCEDURE s1.p1() BEGIN END;
+SET DEBUG_SYNC='before_db_dir_check SIGNAL check_db WAIT_FOR dropped_schema';
+CALL s1.p1;
+SET DEBUG_SYNC='now WAIT_FOR check_db';
+DROP SCHEMA s1;
+SET DEBUG_SYNC='now SIGNAL dropped_schema';
+ERROR 42000: Unknown database 's1'
+SET DEBUG_SYNC = 'RESET';