Commit 9a801f6f authored by Rich Prohaska's avatar Rich Prohaska

fix the regressions error on 4.4. addresses #968

git-svn-id: file:///svn/tokudb@5307 c7de825b-a66e-492c-adef-691d508d4ae1
parent 31aa0af0
......@@ -74,7 +74,7 @@ int test_truncate_with_cursors(int n) {
// It looks like for 4.6 there's no error code, even though the documentation says "it is an error to truncate with open cursors".
// For 4.3 the error code is EINVAL
// I don't know where the boundary really is: Is it an error in 4.5 or 4.4?
if (DB_VERSION_MAJOR==4 && DB_VERSION_MINOR>=6) {
if (DB_VERSION_MAJOR==4 && DB_VERSION_MINOR>=4) {
assert(r == 0 && test_errors);
} else {
assert(r == EINVAL && test_errors);
......
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