summaryrefslogtreecommitdiff
path: root/src/cursor/cur_std.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cursor/cur_std.c')
-rw-r--r--src/cursor/cur_std.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cursor/cur_std.c b/src/cursor/cur_std.c
index a33de259987..ea56d2263ff 100644
--- a/src/cursor/cur_std.c
+++ b/src/cursor/cur_std.c
@@ -222,7 +222,7 @@ __wt_cursor_get_keyv(WT_CURSOR *cursor, uint32_t flags, va_list ap)
cursor->key.data, cursor->key.size, fmt, ap);
}
-err: API_END(session);
+err: API_END(session, ret);
return (ret);
}
@@ -292,7 +292,7 @@ __wt_cursor_set_keyv(WT_CURSOR *cursor, uint32_t flags, va_list ap)
err: cursor->saved_err = ret;
}
- API_END(session);
+ API_END(session, ret);
}
/*
@@ -332,7 +332,7 @@ __wt_cursor_get_value(WT_CURSOR *cursor, ...)
va_end(ap);
-err: API_END(session);
+err: API_END(session, ret);
return (ret);
}
@@ -388,7 +388,7 @@ __wt_cursor_set_value(WT_CURSOR *cursor, ...)
err: cursor->saved_err = ret;
}
va_end(ap);
- API_END(session);
+ API_END(session, ret);
}
/*