aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/btree/bt_seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/btree/bt_seq.c b/db/btree/bt_seq.c
index 303b481..eacef29 100644
--- a/db/btree/bt_seq.c
+++ b/db/btree/bt_seq.c
@@ -358,7 +358,7 @@ __bt_first(t, key, erval, exactp)
* page) and return it.
*/
if ((ep = __bt_search(t, key, exactp)) == NULL)
- return (NULL);
+ return (RET_SPECIAL);
if (*exactp) {
if (F_ISSET(t, B_NODUPS)) {
*erval = *ep;