mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-7635: Update tests to adapt to the new default sql_mode
This commit is contained in:
@ -509,7 +509,7 @@ CREATE TABLE t2 (
|
||||
);
|
||||
|
||||
--disable_warnings
|
||||
INSERT INTO t2 VALUES ();
|
||||
INSERT IGNORE INTO t2 VALUES ();
|
||||
INSERT INTO t1 VALUES ();
|
||||
--enable_warnings
|
||||
|
||||
@ -610,7 +610,7 @@ CREATE TABLE t1 (
|
||||
KEY idx4267 (col1000, col1003)
|
||||
);
|
||||
|
||||
INSERT INTO t1 VALUES (),();
|
||||
INSERT IGNORE INTO t1 VALUES (),();
|
||||
SELECT col999 FROM t1 WHERE col1000 = "3" AND col1003 <=> sysdate();
|
||||
|
||||
DROP TABLE t1;
|
||||
@ -888,7 +888,7 @@ DROP TABLE t1;
|
||||
# MDEV-308 lp:1008516 - Failing assertion: templ->mysql_col_len == len
|
||||
#
|
||||
create table t1 (a int,b char(5),primary key (a), key (b(1)));
|
||||
insert into t1 values ('a','b');
|
||||
insert ignore into t1 values ('a','b');
|
||||
select 1 from t1 where a and b >= 'aa';
|
||||
drop table t1;
|
||||
|
||||
|
Reference in New Issue
Block a user