File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ SET GLOBAL READ_ONLY = 1;
684
684
# Connection: u1_con (mysqltest_u1@localhost/events_test).
685
685
#
686
686
687
- CREATE EVENT e1 ON SCHEDULE AT '2020 -01-01 00:00:00' DO SET @a = 1;
687
+ CREATE EVENT e1 ON SCHEDULE AT '2038 -01-01 00:00:00' DO SET @a = 1;
688
688
ERROR HY000: The MariaDB server is running with the --read-only option so it cannot execute this statement
689
689
690
690
ALTER EVENT e1 COMMENT 'comment';
@@ -697,7 +697,7 @@ ERROR HY000: The MariaDB server is running with the --read-only option so it can
697
697
# Connection: root_con (root@localhost/events_test).
698
698
#
699
699
700
- CREATE EVENT e1 ON SCHEDULE AT '2020 -01-01 00:00:00' DO SET @a = 1;
700
+ CREATE EVENT e1 ON SCHEDULE AT '2038 -01-01 00:00:00' DO SET @a = 1;
701
701
Warnings:
702
702
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
703
703
Original file line number Diff line number Diff line change @@ -1034,7 +1034,7 @@ SET GLOBAL READ_ONLY = 1;
1034
1034
--echo
1035
1035
1036
1036
--error ER_OPTION_PREVENTS_STATEMENT
1037
- CREATE EVENT e1 ON SCHEDULE AT '2020 -01-01 00:00:00' DO SET @a = 1;
1037
+ CREATE EVENT e1 ON SCHEDULE AT '2038 -01-01 00:00:00' DO SET @a = 1;
1038
1038
1039
1039
--echo
1040
1040
@@ -1058,7 +1058,7 @@ DROP EVENT e1;
1058
1058
1059
1059
--echo
1060
1060
1061
- CREATE EVENT e1 ON SCHEDULE AT '2020 -01-01 00:00:00' DO SET @a = 1;
1061
+ CREATE EVENT e1 ON SCHEDULE AT '2038 -01-01 00:00:00' DO SET @a = 1;
1062
1062
1063
1063
--echo
1064
1064
Original file line number Diff line number Diff line change @@ -1176,7 +1176,7 @@ void wait_begin(thread_group_t *thread_group)
1176
1176
DBUG_ASSERT (thread_group->connection_count > 0 );
1177
1177
1178
1178
if ((thread_group->active_thread_count == 0 ) &&
1179
- (thread_group->queue .is_empty () || !thread_group->listener ))
1179
+ (! thread_group->queue .is_empty () || !thread_group->listener ))
1180
1180
{
1181
1181
/*
1182
1182
Group might stall while this thread waits, thus wake
You can’t perform that action at this time.
0 commit comments