mirror of https://gitee.com/bigwinds/arangodb
If we run out of prime numbers, do not change value.
This commit is contained in:
parent
523029e190
commit
5c63512bb5
|
@ -86,9 +86,7 @@ uint64_t TRI_NextPrime (uint64_t value) {
|
|||
return Primes[i];
|
||||
}
|
||||
}
|
||||
|
||||
assert(false);
|
||||
return 0;
|
||||
return value;
|
||||
}
|
||||
|
||||
// Local Variables:
|
||||
|
|
Loading…
Reference in New Issue