diff options
author | drh <> | 2025-01-06 18:32:53 +0000 |
---|---|---|
committer | drh <> | 2025-01-06 18:32:53 +0000 |
commit | a5dbae3781a21ea91c210c41402e1213b97df649 (patch) | |
tree | 0910fe1f79340a90d621120f6d3a790b2977b611 /src | |
parent | cee8b04d33e78b2227fdb6007b9991f998469a7d (diff) | |
download | sqlite-a5dbae3781a21ea91c210c41402e1213b97df649.tar.gz sqlite-a5dbae3781a21ea91c210c41402e1213b97df649.zip |
Fix a minor problem with the sqlite3_get_table_printf() test interface.
No core changes.
FossilOrigin-Name: a0df29c7a3eb4f558aba00598d827643830591def3101a4d5464543527b8d13c
Diffstat (limited to 'src')
-rw-r--r-- | src/test1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test1.c b/src/test1.c index cf5d484e9..a1a96d2b3 100644 --- a/src/test1.c +++ b/src/test1.c @@ -600,6 +600,7 @@ static int SQLITE_TCLAPI test_get_table_printf( } sqlite3_free(zSql); sqlite3_snprintf(sizeof(zBuf), zBuf, "%d", rc); + Tcl_ResetResult(interp); Tcl_AppendElement(interp, zBuf); if( rc==SQLITE_OK ){ if( argc==4 ){ |