1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix an assertion failure that occurs when attempting to delete all rows of

a table while the "count_changes" pragma is turned on.  Up the version number
to 2.6.1. (CVS 690)

FossilOrigin-Name: 612df004017b241651074ee859096dd0ee5062b8
This commit is contained in:
drh
2002-07-19 18:52:40 +00:00
parent 426cc56a6b
commit 26b3e1bc06
8 changed files with 91 additions and 25 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.90 2002/07/19 18:13:36 drh Exp $
** $Id: main.c,v 1.91 2002/07/19 18:52:41 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -115,7 +115,7 @@ int upgrade_3_callback(void *pInit, int argc, char **argv, char **NotUsed){
int rc;
Table *pTab;
Trigger *pTrig;
char *zErr;
char *zErr = 0;
pTab = sqliteFindTable(pData->db, argv[0]);
if( pTab ){
@@ -302,7 +302,7 @@ int sqliteInit(sqlite *db, char **pzErrMsg){
/*
** The version of the library
*/
static const char rcsid[] = "@(#) $Id: main.c,v 1.90 2002/07/19 18:13:36 drh Exp $";
static const char rcsid[] = "@(#) $Id: main.c,v 1.91 2002/07/19 18:52:41 drh Exp $";
const char sqlite_version[] = SQLITE_VERSION;
/*