Commit c7768076 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-33460 use the correct sql_mode and fix for --view

parent 0fc123c5
......@@ -208,12 +208,13 @@ t1 CREATE TABLE `t1` (
KEY `a` (`a`,`b`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
drop table t1;
set sql_mode= default;
#
# MDEV-33460 select '123' 'x'; unexpected result
#
SELECT '';
NULL
NULL
SELECT '' 'b' 'c';
bc
bc
......
......@@ -25,12 +25,15 @@ flush tables;
update t1 set a = 2;
show create table t1;
drop table t1;
set sql_mode= default;
--echo #
--echo # MDEV-33460 select '123' 'x'; unexpected result
--echo #
--disable_view_protocol
SELECT '';
--enable_view_protocol
SELECT '' 'b' 'c';
SELECT '' '' 'c';
SELECT 'a' '' 'c';
......
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