aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r--src/vdbeaux.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index 86980b4dd..c83292fa4 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -43,6 +43,13 @@ Vdbe *sqlite3VdbeCreate(Parse *pParse){
}
/*
+** Return the Parse object that owns a Vdbe object.
+*/
+Parse *sqlite3VdbeParser(Vdbe *p){
+ return p->pParse;
+}
+
+/*
** Change the error string stored in Vdbe.zErrMsg
*/
void sqlite3VdbeError(Vdbe *p, const char *zFormat, ...){