summary refs log tree commit diff
path: root/db/btree/bt_seq.c
diff options
context:
space:
mode:
Diffstat (limited to 'db/btree/bt_seq.c')
-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 303b481903..eacef2998f 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;