BUG#31810: Potential infinite loop with autoincrement failures in ndb
Fix extra semicolon causing if-statement to be disabled.
This commit is contained in:
parent
5961666886
commit
e16f03cd64
@ -2302,7 +2302,7 @@ int ha_ndbcluster::write_row(byte *record)
|
|||||||
auto_value, 1) == -1)
|
auto_value, 1) == -1)
|
||||||
{
|
{
|
||||||
if (--retries &&
|
if (--retries &&
|
||||||
ndb->getNdbError().status == NdbError::TemporaryError);
|
ndb->getNdbError().status == NdbError::TemporaryError)
|
||||||
{
|
{
|
||||||
my_sleep(retry_sleep);
|
my_sleep(retry_sleep);
|
||||||
continue;
|
continue;
|
||||||
@ -4862,7 +4862,7 @@ ulonglong ha_ndbcluster::get_auto_increment()
|
|||||||
auto_value, cache_size, step, start))
|
auto_value, cache_size, step, start))
|
||||||
{
|
{
|
||||||
if (--retries &&
|
if (--retries &&
|
||||||
ndb->getNdbError().status == NdbError::TemporaryError);
|
ndb->getNdbError().status == NdbError::TemporaryError)
|
||||||
{
|
{
|
||||||
my_sleep(retry_sleep);
|
my_sleep(retry_sleep);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user