Commit 8f5467d1 authored by pekka@mysql.com's avatar pekka@mysql.com

Merge mysql.com:/space/pekka/ndb/version/my50-bug14509

into  mysql.com:/space/pekka/ndb/version/my51-bug14509
parents 852c0dbf fc732046
...@@ -921,13 +921,13 @@ Ndb::setTupleIdInNdb(Ndb_local_table_info* info, Uint64 val, bool increase) ...@@ -921,13 +921,13 @@ Ndb::setTupleIdInNdb(Ndb_local_table_info* info, Uint64 val, bool increase)
* if value <= NEXTID, do nothing. otherwise update NEXTID to * if value <= NEXTID, do nothing. otherwise update NEXTID to
* value and set cached range to first = last = value - 1. * value and set cached range to first = last = value - 1.
*/ */
DBUG_RETURN((opTupleIdOnNdb(info, val, 2) == val)); DBUG_RETURN((opTupleIdOnNdb(info, val, 2)));
} }
else else
/* /*
* update NEXTID to given value. reset cached range. * update NEXTID to given value. reset cached range.
*/ */
DBUG_RETURN((opTupleIdOnNdb(info, val, 1) == val)); DBUG_RETURN((opTupleIdOnNdb(info, val, 1)));
} }
int Ndb::initAutoIncrement() int Ndb::initAutoIncrement()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment