summaryrefslogtreecommitdiff
path: root/mysql-test/t/ps.test
diff options
context:
space:
mode:
authorunknown <ramil/ram@ramil.myoffice.izhnet.ru>2007-11-10 18:43:44 +0400
committerunknown <ramil/ram@ramil.myoffice.izhnet.ru>2007-11-10 18:43:44 +0400
commit401e4c647a9c4507ce26ea7fa7696cdaab453e47 (patch)
tree8e4ed57f8c5c00eaed555133a8183041fe48f2aa /mysql-test/t/ps.test
parentf89441226b1eb2c09b0cb00be507705aaac269a0 (diff)
parentf56e68929a9bd916a3395276e6165af366132c8c (diff)
downloadmariadb-git-401e4c647a9c4507ce26ea7fa7696cdaab453e47.tar.gz
Merge mysql.com:/home/ram/work/b32137/b32137.5.0
into mysql.com:/home/ram/work/b32137/b32137.5.1 mysql-test/t/ps.test: Auto merged sql/item_timefunc.cc: Auto merged
Diffstat (limited to 'mysql-test/t/ps.test')
-rw-r--r--mysql-test/t/ps.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test
index dea86bdd2fa..2c35a57e5a6 100644
--- a/mysql-test/t/ps.test
+++ b/mysql-test/t/ps.test
@@ -1223,6 +1223,16 @@ EXECUTE st1;
DEALLOCATE PREPARE st1;
DROP TABLE t1;
+
+#
+# Bug #32137: prepared statement crash with str_to_date in update clause
+#
+create table t1 (a int, b tinyint);
+prepare st1 from 'update t1 set b= (str_to_date(a, a))';
+execute st1;
+deallocate prepare st1;
+drop table t1;
+
--echo End of 4.1 tests.
############################# 5.0 tests start ################################