Commit 864bd283 authored by unknown's avatar unknown

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


ndb/src/ndbapi/Ndb.cpp:
  fix a return value
parent 0219f8b0
......@@ -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