diff --git a/btree/bt_seq.c b/btree/bt_seq.c index 07f5978..d5a700d 100644 --- a/btree/bt_seq.c +++ b/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;