summaryrefslogtreecommitdiff
path: root/mysql-test/t/ps.test
diff options
context:
space:
mode:
authorunknown <ramil/ram@ramil.myoffice.izhnet.ru>2007-05-23 13:47:34 +0500
committerunknown <ramil/ram@ramil.myoffice.izhnet.ru>2007-05-23 13:47:34 +0500
commitedbd365e30055d871de32373bac732285f595c95 (patch)
tree8dac30d487e4506f6bf316478df8c7807c13b7a1 /mysql-test/t/ps.test
parentda85dd706364473ee9c1b54a72fcdddc6ea275a9 (diff)
parent6249d57d4bc56a0213a152bae1a930fe45412111 (diff)
downloadmariadb-git-edbd365e30055d871de32373bac732285f595c95.tar.gz
Merge mysql.com:/home/ram/work/b28509/b28509.5.0
into mysql.com:/home/ram/work/b28509/b28509.5.1 mysql-test/r/ps.result: Auto merged mysql-test/t/ps.test: Auto merged sql/item.cc: Auto merged
Diffstat (limited to 'mysql-test/t/ps.test')
-rw-r--r--mysql-test/t/ps.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test
index 1fd1cc4a405..c6aa05df900 100644
--- a/mysql-test/t/ps.test
+++ b/mysql-test/t/ps.test
@@ -1626,6 +1626,14 @@ execute stmt;
deallocate prepare stmt;
drop tables t1;
+#
+# Bug #28509: strange behaviour: passing a decimal value to PS
+#
+prepare stmt from "create table t1 select ?";
+set @a=1.0;
+execute stmt using @a;
+show create table t1;
+drop table t1;
--echo End of 5.0 tests.