mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
fix the regressions error on 4.4. addresses #968
git-svn-id: file:///svn/tokudb@5307 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
31aa0af04e
commit
9a801f6fc6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue