diff options
author | unknown <ramil/ram@ramil.myoffice.izhnet.ru> | 2007-11-10 18:43:44 +0400 |
---|---|---|
committer | unknown <ramil/ram@ramil.myoffice.izhnet.ru> | 2007-11-10 18:43:44 +0400 |
commit | 401e4c647a9c4507ce26ea7fa7696cdaab453e47 (patch) | |
tree | 8e4ed57f8c5c00eaed555133a8183041fe48f2aa /mysql-test/t/ps.test | |
parent | f89441226b1eb2c09b0cb00be507705aaac269a0 (diff) | |
parent | f56e68929a9bd916a3395276e6165af366132c8c (diff) | |
download | mariadb-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.test | 10 |
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 ################################ |