summaryrefslogtreecommitdiff
path: root/mysql-test/t/ps.test
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-11-28 10:51:54 -0800
committerunknown <jimw@mysql.com>2005-11-28 10:51:54 -0800
commit4b50aca58a855b5f8c5a5aa1636d43849def2c3f (patch)
treeacfcdfea2e7c87ada60a742b4be73805081a8807 /mysql-test/t/ps.test
parent6c41013ea3b80a5b29c792b479b7c6c2d8ab9763 (diff)
parent0f64a6222edc0d0ded4e1b48fa428f8a7b44e67e (diff)
downloadmariadb-git-4b50aca58a855b5f8c5a5aa1636d43849def2c3f.tar.gz
Merge mysql.com:/home/jimw/my/mysql-5.0-14956
into mysql.com:/home/jimw/my/mysql-5.0-clean mysql-test/t/ps.test: Auto merged sql/sql_parse.cc: Auto merged mysql-test/r/ps.result: SCCS merged
Diffstat (limited to 'mysql-test/t/ps.test')
-rw-r--r--mysql-test/t/ps.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test
index 774424a8d55..22d0abf645e 100644
--- a/mysql-test/t/ps.test
+++ b/mysql-test/t/ps.test
@@ -871,3 +871,15 @@ set names default;
deallocate prepare stmt;
# End of 4.1 tests
+
+#
+# Bug #14956: ROW_COUNT() returns incorrect result after EXECUTE of prepared
+# statement
+#
+create table t1 (id int);
+prepare ins_call from "insert into t1 (id) values (1)";
+execute ins_call;
+select row_count();
+drop table t1;
+
+# End of 5.0 tests