mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-28632 Change default of explicit_defaults_for_timestamp to ON
This commit is contained in:
committed by
Oleksandr Byelkin
parent
c38b8f49b8
commit
45e0373a78
@@ -66,7 +66,7 @@ set global test_sql_service_execute_sql_global= 'drop table test.t1';
|
||||
show status like 'test_sql_query_result';
|
||||
Variable_name Value
|
||||
Test_sql_query_result Error 1051 returned. Unknown table 'test.t1'
|
||||
create table t1 (id int, time timestamp);
|
||||
create table t1 (id int, time timestamp not null default now());
|
||||
insert into t1 values (1, NULL), (2, NULL), (3, NULL), (4, NULL), (5, NULL);
|
||||
set global test_sql_service_execute_sql_global= 'select * FROM test.t1 WHERE time < DATE_SUB(NOW(), interval 5 minute)';
|
||||
show status like 'test_sql_query_result';
|
||||
|
Reference in New Issue
Block a user