ib_cursor_unlock() won't return error code when table isn't locked
Bug #582891 reported by
Stewart Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
HailDB | Status tracked in Trunk | |||||
2.x |
Fix Released
|
Low
|
Stewart Smith | |||
Trunk |
Fix Released
|
Low
|
Stewart Smith |
Bug Description
=== modified file 'api/api0api.c'
this will fix it:
--- api/api0api.c 2010-05-19 15:25:58 +0000
+++ api/api0api.c 2010-05-19 15:26:25 +0000
@@ -5512,11 +5512,12 @@ ib_cursor_unlock(
if (prebuilt-
--prebuilt-
+ err= DB_SUCCESS;
} else {
err = DB_ERROR;
}
- return(DB_SUCCESS);
+ return(err);
}
To post a comment you must log in.
this code appears to be unused...