summaryrefslogtreecommitdiff
path: root/mysql-test/suite/plugins/t/test_sql_service.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/plugins/t/test_sql_service.test')
-rw-r--r--mysql-test/suite/plugins/t/test_sql_service.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/plugins/t/test_sql_service.test b/mysql-test/suite/plugins/t/test_sql_service.test
index 0a45cb663f4..2f53c1d5b3e 100644
--- a/mysql-test/suite/plugins/t/test_sql_service.test
+++ b/mysql-test/suite/plugins/t/test_sql_service.test
@@ -61,7 +61,7 @@ show status like 'test_sql_query_result';
set global test_sql_service_execute_sql_global= 'drop table test.t1';
show status like 'test_sql_query_result';
-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';