diff options
Diffstat (limited to 'ext/pdo_sqlite/sqlite/src/test2.c')
-rw-r--r-- | ext/pdo_sqlite/sqlite/src/test2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/sqlite/src/test2.c b/ext/pdo_sqlite/sqlite/src/test2.c index 768811ffe5..d4c5544b63 100644 --- a/ext/pdo_sqlite/sqlite/src/test2.c +++ b/ext/pdo_sqlite/sqlite/src/test2.c @@ -561,6 +561,7 @@ static int fake_big_file( int Sqlitetest2_Init(Tcl_Interp *interp){ extern int sqlite3_io_error_pending; extern int sqlite3_diskfull_pending; + extern int sqlite3_diskfull; static struct { char *zName; Tcl_CmdProc *xProc; @@ -593,6 +594,10 @@ int Sqlitetest2_Init(Tcl_Interp *interp){ (char*)&sqlite3_io_error_pending, TCL_LINK_INT); Tcl_LinkVar(interp, "sqlite_diskfull_pending", (char*)&sqlite3_diskfull_pending, TCL_LINK_INT); + Tcl_LinkVar(interp, "sqlite_diskfull", + (char*)&sqlite3_diskfull, TCL_LINK_INT); + Tcl_LinkVar(interp, "sqlite_pending_byte", + (char*)&sqlite3_pending_byte, TCL_LINK_INT); Tcl_LinkVar(interp, "pager_pagesize", (char*)&test_pagesize, TCL_LINK_INT); return TCL_OK; |