diff options
author | danielk1977 <danielk1977@noemail.net> | 2005-01-31 12:42:29 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2005-01-31 12:42:29 +0000 |
commit | c60e9b82db7bdc9d323acbb0cec6d4f03973a763 (patch) | |
tree | 4d2950ea373ed749325a090b3cb0f86a37ff54e0 /src/main.c | |
parent | d5b6b38d6fd828df49d6b5377b47348ba0be583f (diff) | |
download | sqlite-c60e9b82db7bdc9d323acbb0cec6d4f03973a763.tar.gz sqlite-c60e9b82db7bdc9d323acbb0cec6d4f03973a763.zip |
Assorted minor changes to speed up loading the database schema. (CVS 2293)
FossilOrigin-Name: dfbd684a913022ad43ce59c3422d3d94f776d547
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index dfcab944b..ac11f178c 100644 --- a/src/main.c +++ b/src/main.c @@ -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.276 2005/01/29 08:32:45 danielk1977 Exp $ +** $Id: main.c,v 1.277 2005/01/31 12:42:29 danielk1977 Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -279,7 +279,7 @@ static int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg){ }else{ char *zSql; zSql = sqlite3MPrintf( - "SELECT name, rootpage, sql, %s FROM '%q'.%s", + "SELECT name, rootpage, sql, '%s' FROM '%q'.%s", zDbNum, db->aDb[iDb].zName, zMasterName); sqlite3SafetyOff(db); rc = sqlite3_exec(db, zSql, sqlite3InitCallback, &initData, 0); |