summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp.test
diff options
context:
space:
mode:
authorJacob Mathew <jacob.mathew@mariadb.com>2018-03-13 16:15:37 -0700
committerJacob Mathew <jacob.mathew@mariadb.com>2018-03-13 16:15:37 -0700
commit1b82bec3c9ade9864dc9483e99d7b527ebff6bf1 (patch)
tree0f7cadc18142819248138802f73e4e0e638c8026 /mysql-test/t/sp.test
parent90247658e066c3ae5da1fefb988f5564e24abc90 (diff)
parent9d95b8665a3d87ab857e77e220effc64454eb881 (diff)
downloadmariadb-git-bb-10.2-MDEV-14019.tar.gz
Merge branch '10.2' into bb-10.2-MDEV-14019bb-10.2-MDEV-14019
Diffstat (limited to 'mysql-test/t/sp.test')
-rw-r--r--mysql-test/t/sp.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test
index 68a0c060906..529ebd4736a 100644
--- a/mysql-test/t/sp.test
+++ b/mysql-test/t/sp.test
@@ -9840,3 +9840,13 @@ call p3();
drop procedure p1;
drop procedure p2;
drop procedure p3;
+
+--echo #
+--echo # MDEV-15328: MariaDB 10.2.13 Crashes upon CALL PROCEDURE PARAM
+--echo # LAST_INSERT_ID ()
+--echo # (part 1, part 2 is in query_cache.test)
+--echo #
+
+CREATE PROCEDURE foo ( IN i INT UNSIGNED ) BEGIN END;
+CALL foo( LAST_INSERT_ID() );
+DROP PROCEDURE foo;