summaryrefslogtreecommitdiff
path: root/src/cursor/cur_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cursor/cur_index.c')
-rw-r--r--src/cursor/cur_index.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/cursor/cur_index.c b/src/cursor/cur_index.c
index dbe8046ca21..6de68d86778 100644
--- a/src/cursor/cur_index.c
+++ b/src/cursor/cur_index.c
@@ -8,20 +8,6 @@
#include "wt_internal.h"
- /*
- * __wt_curindex_joined --
- * Produce an error that this cursor is being used in a join call.
- */
-int
-__wt_curindex_joined(WT_CURSOR *cursor)
-{
- WT_SESSION_IMPL *session;
-
- session = (WT_SESSION_IMPL *)cursor->session;
- __wt_errx(session, "index cursor is being used in a join");
- return (ENOTSUP);
-}
-
/*
* __curindex_get_value --
* WT_CURSOR->get_value implementation for index cursors.
@@ -462,7 +448,7 @@ __wt_curindex_open(WT_SESSION_IMPL *session,
if (WT_CURSOR_RECNO(cursor))
WT_ERR_MSG(session, WT_ERROR,
"Column store indexes based on a record number primary "
- "key are not supported.");
+ "key are not supported");
/* Handle projections. */
if (columns != NULL) {