Skip to content

Commit 6155309

Browse files
committed
In multi-Ndb WakeupHandler, reset woken flag.
This had been commented out. It is a necessary (but maybe not sufficient) part of the fix for bug#20351656
1 parent 725f3ee commit 6155309

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

storage/ndb/src/ndbapi/WakeupHandler.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/*
2-
Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
1+
/*
2+
Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
33
44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -179,7 +179,7 @@ int MultiNdbWakeupHandler::waitForInput(Ndb** _objs,
179179
if (isReadyToWake()) // already enough
180180
{
181181
pg.wait_for_input(0);
182-
// woken = false;
182+
woken = false;
183183
ignore_wakeups();
184184
ret = 0;
185185
break;
@@ -194,7 +194,7 @@ int MultiNdbWakeupHandler::waitForInput(Ndb** _objs,
194194

195195
if (isReadyToWake())
196196
{
197-
// woken = false;
197+
woken = false;
198198
ignore_wakeups();
199199
ret = 0;
200200
break;

0 commit comments

Comments
 (0)