1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

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

This commit is contained in:
Sergei Golubchik
2024-03-27 14:20:12 +01:00
parent 0fc123c595
commit c77680768c
2 changed files with 6 additions and 2 deletions

View File

@ -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';