mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-18 10:21:03 +03:00
Do not record existance the sqlite_sequence table until it is actually
created. Ticket #1283. (CVS 2513) FossilOrigin-Name: 95256d953c179372dcc5ead6c407672c8161a8c1
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
** COMMIT
|
||||
** ROLLBACK
|
||||
**
|
||||
** $Id: build.c,v 1.326 2005/06/12 21:35:52 drh Exp $
|
||||
** $Id: build.c,v 1.327 2005/06/14 02:12:46 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@@ -745,7 +745,7 @@ void sqlite3StartTable(
|
||||
** so that INSERT can find the table easily.
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_AUTOINCREMENT
|
||||
if( strcmp(zName, "sqlite_sequence")==0 ){
|
||||
if( !pParse->nested && strcmp(zName, "sqlite_sequence")==0 ){
|
||||
db->aDb[iDb].pSeqTab = pTable;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user