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

Remove the config.h file from the build. Ticket #1224. (CVS 2480)

FossilOrigin-Name: 3e64f1ab417f371e9875915303b898c5b45f0807
This commit is contained in:
drh
2005-05-24 20:19:57 +00:00
parent fd9a0a45a7
commit 97903fef77
9 changed files with 29 additions and 80 deletions

View File

@@ -22,7 +22,7 @@
** COMMIT
** ROLLBACK
**
** $Id: build.c,v 1.321 2005/05/24 12:01:02 danielk1977 Exp $
** $Id: build.c,v 1.322 2005/05/24 20:19:58 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1442,7 +1442,7 @@ void sqlite3EndTable(
if( pSelect ){
zStmt = createTableStmt(p);
}else{
n = Addr(pEnd->z) - Addr(pParse->sNameToken.z) + 1;
n = pEnd->z - pParse->sNameToken.z + 1;
zStmt = sqlite3MPrintf("CREATE %s %.*s", zType2, n, pParse->sNameToken.z);
}
@@ -2395,7 +2395,7 @@ void sqlite3CreateIndex(
/* A named index with an explicit CREATE INDEX statement */
zStmt = sqlite3MPrintf("CREATE%s INDEX %.*s",
onError==OE_None ? "" : " UNIQUE",
Addr(pEnd->z) - Addr(pName->z) + 1,
pEnd->z - pName->z + 1,
pName->z);
}else{
/* An automatic index created by a PRIMARY KEY or UNIQUE constraint */