1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-18 10:21:03 +03:00

Temporarily revert to using sqlite3_transfer_bindings() internally. (CVS 5673)

FossilOrigin-Name: 690ff3853b4e46ac7126992c84455237e265fd98
This commit is contained in:
danielk1977
2008-09-04 05:53:44 +00:00
parent 4a27a28635
commit c9e90daf62
3 changed files with 10 additions and 10 deletions

View File

@@ -13,7 +13,7 @@
** interface, and routines that contribute to loading the database schema
** from disk.
**
** $Id: prepare.c,v 1.94 2008/09/04 04:32:49 shane Exp $
** $Id: prepare.c,v 1.95 2008/09/04 05:53:45 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -692,7 +692,7 @@ int sqlite3Reprepare(Vdbe *p){
assert( pNew!=0 );
}
sqlite3VdbeSwap((Vdbe*)pNew, p);
sqlite3TransferBindings(pNew, (sqlite3_stmt*)p);
sqlite3_transfer_bindings(pNew, (sqlite3_stmt*)p);
sqlite3VdbeResetStepResult((Vdbe*)pNew);
sqlite3VdbeFinalize((Vdbe*)pNew);
return 1;