Commit 951dacdc authored by unknown's avatar unknown

Fix ps.test in --ps-protocol


mysql-test/t/ps.test:
  Disable prepared statements for a part of the test to avoid
  result mismatch.
parent 73386c15
...@@ -693,11 +693,13 @@ prepare stmt from "select ?FROM t1"; ...@@ -693,11 +693,13 @@ prepare stmt from "select ?FROM t1";
prepare stmt from "select FROM t1 WHERE?=1"; prepare stmt from "select FROM t1 WHERE?=1";
--error 1064 --error 1064
prepare stmt from "update t1 set a=a+?WHERE 1"; prepare stmt from "update t1 set a=a+?WHERE 1";
--disable_ps_protocol
--error 1064 --error 1064
select ?; select ?;
--error 1064 --error 1064
select ??; select ??;
--error 1064 --error 1064
select ? from t1; select ? from t1;
--enable_ps_protocol
drop table t1; drop table t1;
# #
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment