1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix the TCL interface to test_quota.c so that it works with empty callback

scripts.

FossilOrigin-Name: 19e95f63359589766da673aac99d19a355a92678
This commit is contained in:
drh
2010-09-01 15:11:38 +00:00
parent 75c1917423
commit 3d3e60e481
4 changed files with 42 additions and 12 deletions

View File

@@ -726,6 +726,7 @@ static void tclQuotaCallback(
int rc; /* Tcl error code */
p = (TclQuotaCallback *)pArg;
if( p==0 ) return;
pVarname = Tcl_NewStringObj("::piLimit_", -1);
Tcl_IncrRefCount(pVarname);