Commit 0e107012 authored by Sergei Golubchik's avatar Sergei Golubchik

fix insert.test in --ps-protocol.

After MDEV-4817, WHERE clause may be evaluated early, in fix_fields.
In ps-protocol fix_fields happens both for prepare and execute phase,
generating double the number of warnings from the early WHERE clause
executions.
parent 8b5da9f7
......@@ -518,7 +518,9 @@ set sql_mode='error_for_division_by_zero';
--echo #
--enable_info
insert t1 (data) values ('letter'), (1/0);
--disable_ps_protocol
update t1 set data='envelope' where 1/0 or 1;
--enable_ps_protocol
insert t1 (data) values (default), (1/0), ('dead beef');
--disable_info
......
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