1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-16 23:02:26 +03:00

Add an assert() statement that will alert us if the potential problem identified by #3243 ever becomes a reality. (CVS 5532)

FossilOrigin-Name: 34208f0ba420ca6bef16991eba200d5ed68d5430
This commit is contained in:
danielk1977
2008-08-04 04:39:48 +00:00
parent 94bdf89440
commit df206b0b6b
3 changed files with 9 additions and 8 deletions

View File

@@ -22,7 +22,7 @@
** COMMIT
** ROLLBACK
**
** $Id: build.c,v 1.492 2008/08/02 03:50:39 drh Exp $
** $Id: build.c,v 1.493 2008/08/04 04:39:49 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1524,6 +1524,7 @@ void sqlite3EndTable(
SelectDest dest;
Table *pSelTab;
assert(pParse->nTab==0);
sqlite3VdbeAddOp3(v, OP_OpenWrite, 1, pParse->regRoot, iDb);
sqlite3VdbeChangeP5(v, 1);
pParse->nTab = 2;