Skip to content

Commit 4d7f073

Browse files
committed
Merge branch '5.5' into 10.1
2 parents faf2a6e + 3c94c5b commit 4d7f073

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

mysql-test/r/events_bugs.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ SET GLOBAL READ_ONLY = 1;
684684
# Connection: u1_con (mysqltest_u1@localhost/events_test).
685685
#
686686

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;
688688
ERROR HY000: The MariaDB server is running with the --read-only option so it cannot execute this statement
689689

690690
ALTER EVENT e1 COMMENT 'comment';
@@ -697,7 +697,7 @@ ERROR HY000: The MariaDB server is running with the --read-only option so it can
697697
# Connection: root_con (root@localhost/events_test).
698698
#
699699

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;
701701
Warnings:
702702
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
703703

mysql-test/t/events_bugs.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ SET GLOBAL READ_ONLY = 1;
10341034
--echo
10351035

10361036
--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;
10381038

10391039
--echo
10401040

@@ -1058,7 +1058,7 @@ DROP EVENT e1;
10581058

10591059
--echo
10601060

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;
10621062

10631063
--echo
10641064

sql/threadpool_unix.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ void wait_begin(thread_group_t *thread_group)
11761176
DBUG_ASSERT(thread_group->connection_count > 0);
11771177

11781178
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))
11801180
{
11811181
/*
11821182
Group might stall while this thread waits, thus wake

0 commit comments

Comments
 (0)