summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorunknown <knielsen@loke.(none)[knielsen]>2007-10-25 08:40:42 +0200
committerunknown <knielsen@loke.(none)[knielsen]>2007-10-25 08:40:42 +0200
commit34279339dce0ef944c706b28d3643aa728732325 (patch)
treee1cac90f3b4d4e6fb3ac184da74f8d9fb7df8757 /sql/ha_ndbcluster.cc
parenteff940c7314fc72134cbfcafdb1e14040b99c8a9 (diff)
downloadmariadb-git-34279339dce0ef944c706b28d3643aa728732325.tar.gz
BUG#31810: Potential infinite loop with autoincrement failures in ndb
Fix extra semicolon causing if-statement to be disabled. sql/ha_ndbcluster.cc: Fix extra semicolon causing if-statement to be disabled.
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index b74b04f4238..f5207f8ca03 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -2302,7 +2302,7 @@ int ha_ndbcluster::write_row(byte *record)
auto_value, 1) == -1)
{
if (--retries &&
- ndb->getNdbError().status == NdbError::TemporaryError);
+ ndb->getNdbError().status == NdbError::TemporaryError)
{
my_sleep(retry_sleep);
continue;
@@ -4862,7 +4862,7 @@ ulonglong ha_ndbcluster::get_auto_increment()
auto_value, cache_size, step, start))
{
if (--retries &&
- ndb->getNdbError().status == NdbError::TemporaryError);
+ ndb->getNdbError().status == NdbError::TemporaryError)
{
my_sleep(retry_sleep);
continue;