Minor fix for sqlite3_clear_bindings(). (CVS 2238)

FossilOrigin-Name: ff5b338cfbd4a957c8ea5e72d6340df25be68a6f
This commit is contained in:
danielk1977 2005-01-20 01:17:44 +00:00
parent 600dd0ba33
commit 6d32959693
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C Add\sthe\sexperimental\ssqlite3_sleep()\sand\ssqlite3_clear_bindings()\sAPIs.\s(CVS\s2237)
D 2005-01-20T01:14:23
C Minor\sfix\sfor\ssqlite3_clear_bindings().\s(CVS\s2238)
D 2005-01-20T01:17:44
F Makefile.in ffd81f5e926d40b457071b4de8d7c1fa18f39b5a
F Makefile.linux-gcc a9e5a0d309fa7c38e7c14d3ecf7690879d3a5457
F README a01693e454a00cc117967e3f9fdab2d4d52e9bc1
@ -35,7 +35,7 @@ F src/build.c da5ecd9880f2d19d5e77fe48b722577494dd3290
F src/cursor.c f883813759742068890b1f699335872bfa8fdf41
F src/date.c f3d1f5cd1503dabf426a198f3ebef5afbc122a7f
F src/delete.c cbf54c0634c53ef683f7af8ad5c5d5637c9efb90
F src/experimental.c ddd3efed16f302d460cbddc81336534489c4331d
F src/experimental.c 8cc66b2be6a011055d75ef19ed2584bcfbb585ad
F src/expr.c 7e26c70d6e9d5f6cd65da2d75fd31c87598d9e02
F src/func.c dc188d862d7276ea897655b248e2cb17022686e3
F src/hash.c a97721a55440b7bea31ffe471bb2f6b4123cddd5
@ -270,7 +270,7 @@ F www/tclsqlite.tcl e73f8f8e5f20e8277619433f7970060ab01088fc
F www/vdbe.tcl 095f106d93875c94b47367384ebc870517431618
F www/version3.tcl 092a01f5ef430d2c4acc0ae558d74c4bb89638a0
F www/whentouse.tcl c3b50d3ac31c54be2a1af9b488a89d22f1e6e746
P d8b2a7e09187564fe66a2b4bf0992c6a017146cf
R ab09feabec2e6782d25ca35f08bb3c33
P 9480209e8600bf411975b3950c407d60c800e5c6
R 52a0bf235a335ba827f5c28cd799017c
U danielk1977
Z 4ac0780f5c16aa3ed032021e94f4f097
Z b988960deb2e640bfd0ea33de1001ed5

View File

@ -1 +1 @@
9480209e8600bf411975b3950c407d60c800e5c6
ff5b338cfbd4a957c8ea5e72d6340df25be68a6f

View File

@ -13,7 +13,7 @@
** This file contains C code routines that are called by the parser
** to handle SELECT statements in SQLite.
**
** $Id: experimental.c,v 1.1 2005/01/20 01:14:23 danielk1977 Exp $
** $Id: experimental.c,v 1.2 2005/01/20 01:17:44 danielk1977 Exp $
*/
#include "sqliteInt.h"
@ -23,7 +23,7 @@
int sqlite3_clear_bindings(sqlite3_stmt *pStmt){
int i;
int rc = SQLITE_OK;
for(i=1; i<=sqlite3_bind_parameter_count(pStmt); i++){
for(i=1; rc==SQLITE_OK && i<=sqlite3_bind_parameter_count(pStmt); i++){
rc = sqlite3_bind_null(pStmt, i);
}
return rc;