diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/ha_ndbcluster.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 5938d76e8a5..5c36d30d26d 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -3056,7 +3056,8 @@ void ha_ndbcluster::info(uint flag) (ulong) err.code, err.message); auto_increment_value= ~(Uint64)0; } - auto_increment_value= (ulonglong)auto_increment_value64; + else + auto_increment_value= (ulonglong)auto_increment_value64; } } DBUG_VOID_RETURN; |