summaryrefslogtreecommitdiff
path: root/c_src/permdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/permdb.c')
-rw-r--r--c_src/permdb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/c_src/permdb.c b/c_src/permdb.c
index 6117ff6..242dacc 100644
--- a/c_src/permdb.c
+++ b/c_src/permdb.c
@@ -624,6 +624,13 @@ permdb_free(permdb_object *state)
free(state);
}
+char *
+get_permdb_error(permdb_object *state)
+{
+ return state->error;
+}
+
+
/*
* Returns the two bits of KEY that are used for LEVEL, for a q=2
* tree.