summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp.test
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-12-08 22:54:58 +0100
committerSergei Golubchik <serg@mariadb.org>2016-12-08 23:19:55 +0100
commit03dabfa84d6bc9a8197c8d9fbe80f2a7f6a5b6ac (patch)
tree1f9544efa27f3fa5f6a2c1fcdb40cf95dc7933ff /mysql-test/t/sp.test
parentab65db6d3fc0c876130cefb45a63cdaad4018f8c (diff)
downloadmariadb-git-03dabfa84d6bc9a8197c8d9fbe80f2a7f6a5b6ac.tar.gz
MDEV-10713: signal 11 error on multi-table update - crash in handler::increment_statistics or in make_select or assertion failure pfs_thread == ((PFS_thread*) pthread_getspecific((THR_PFS)))
Different fix. Don't allow Item_func_sp to be evaluated unless all tables are prelocked. Extend the test case to make sure Item_func_sp::val_str is called (the table must have at least one row for that).
Diffstat (limited to 'mysql-test/t/sp.test')
-rw-r--r--mysql-test/t/sp.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test
index b56ab6c3b11..0e42bf3c831 100644
--- a/mysql-test/t/sp.test
+++ b/mysql-test/t/sp.test
@@ -9316,6 +9316,7 @@ CREATE TABLE `t1` (
CREATE TABLE `t2` (
`ap_close_to` varchar(8) COLLATE utf8_bin DEFAULT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin ;
+insert t1 values (1);
--delimiter $$