Skip to content

Commit be89d30

Browse files
committed
fixed various pb2 test failures on windows.
1 parent 9544f9d commit be89d30

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

mysql-test/r/bug46080.result

100644100755
+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Bug #46080: group_concat(... order by) crashes server when
33
# sort_buffer_size cannot allocate
44
#
5-
call mtr.add_suppression("Out of memory at line .*, 'my_alloc.c'");
6-
call mtr.add_suppression("needed .* byte .*k., memory in use: .* bytes .*k");
5+
call mtr.add_suppression("Out of memory at line .*, '.*my_alloc.c'");
6+
call mtr.add_suppression("needed .* byte (.*k)., memory in use: .* bytes (.*k)");
77
CREATE TABLE t1(a CHAR(255));
88
INSERT INTO t1 VALUES ('a');
99
SET @@SESSION.sort_buffer_size=5*16*1000000;

mysql-test/t/bug46080.test

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
--echo # sort_buffer_size cannot allocate
44
--echo #
55

6-
call mtr.add_suppression("Out of memory at line .*, 'my_alloc.c'");
7-
call mtr.add_suppression("needed .* byte .*k., memory in use: .* bytes .*k");
6+
call mtr.add_suppression("Out of memory at line .*, '.*my_alloc.c'");
7+
call mtr.add_suppression("needed .* byte (.*k)., memory in use: .* bytes (.*k)");
88

99
CREATE TABLE t1(a CHAR(255));
1010
INSERT INTO t1 VALUES ('a');

sql/event_scheduler.cc

100644100755
+2-1
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,9 @@ event_scheduler_thread(void *arg)
235235
if (!res)
236236
scheduler->run(thd);
237237

238+
DBUG_LEAVE; // Against gcc warnings
238239
my_thread_end();
239-
DBUG_RETURN(0); // Against gcc warnings
240+
return 0;
240241
}
241242

242243

0 commit comments

Comments
 (0)