diff options
author | drh <drh@noemail.net> | 2002-04-12 10:08:59 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2002-04-12 10:08:59 +0000 |
commit | c8d30ac10998ef532f368524fc6be4eac81f4a43 (patch) | |
tree | 9a8765eea0b168b5ec1260551b4381d5a90d34f6 /src/sqliteInt.h | |
parent | b04a5d8768573f2bd257ee1ef7caa7bb550bac40 (diff) | |
download | sqlite-c8d30ac10998ef532f368524fc6be4eac81f4a43.tar.gz sqlite-c8d30ac10998ef532f368524fc6be4eac81f4a43.zip |
Fix for bug #15: Add the sqlite_changes() API function for retrieving the
number of rows that changed in the previous operation. (CVS 526)
FossilOrigin-Name: 6e71493b9dc77d508c3ce90562766789e87e6d80
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 0cb7eaafd..5fcbd4a39 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.104 2002/03/12 23:10:05 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.105 2002/04/12 10:08:59 drh Exp $ */ #include "sqlite.h" #include "hash.h" @@ -167,6 +167,8 @@ struct sqlite { int lastRowid; /* ROWID of most recent insert */ int priorNewRowid; /* Last randomly generated ROWID */ int onError; /* Default conflict algorithm */ + int nChange; /* Number of rows changed */ + int recursionDepth; /* Number of nested calls to sqlite_exec() */ }; /* @@ -630,7 +632,7 @@ void sqliteCommitTransaction(Parse*); void sqliteRollbackTransaction(Parse*); char *sqlite_mprintf(const char *, ...); int sqliteExprIsConstant(Expr*); -void sqliteGenerateRowDelete(Vdbe*, Table*, int); +void sqliteGenerateRowDelete(Vdbe*, Table*, int, int); void sqliteGenerateRowIndexDelete(Vdbe*, Table*, int, char*); void sqliteGenerateConstraintChecks(Parse*,Table*,int,char*,int,int,int,int); void sqliteCompleteInsertion(Parse*, Table*, int, char*, int, int); |