Commit fc732046 authored by pekka@mysql.com's avatar pekka@mysql.com

ndb - bug#14509 [related] fix a return value

parent dd58dd51
......@@ -934,13 +934,13 @@ Ndb::setTupleIdInNdb(Ndb_local_table_info* info, Uint64 val, bool increase)
* if value <= NEXTID, do nothing. otherwise update NEXTID to
* value and set cached range to first = last = value - 1.
*/
DBUG_RETURN((opTupleIdOnNdb(info, val, 2) == val));
DBUG_RETURN((opTupleIdOnNdb(info, val, 2)));
}
else
/*
* update NEXTID to given value. reset cached range.
*/
DBUG_RETURN((opTupleIdOnNdb(info, val, 1) == val));
DBUG_RETURN((opTupleIdOnNdb(info, val, 1)));
}
Uint64
......
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