diff options
author | drh <drh@noemail.net> | 2018-01-03 23:40:02 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-01-03 23:40:02 +0000 |
commit | a5bb43518b406098d4545c98fcffc80724c9f1fc (patch) | |
tree | 485180f51c0e013f3cf7e8c411eba66b311d1485 /src/attach.c | |
parent | 99abe5c478d5340616bc9418f7fd7c07b33dedfe (diff) | |
download | sqlite-a5bb43518b406098d4545c98fcffc80724c9f1fc.tar.gz sqlite-a5bb43518b406098d4545c98fcffc80724c9f1fc.zip |
New test cases and fixes for minor problems.
FossilOrigin-Name: e0da2cc382e0db33d0423372133115f52c77bd0093dbf816c7e88a0aad5f6582
Diffstat (limited to 'src/attach.c')
-rw-r--r-- | src/attach.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attach.c b/src/attach.c index f177f1a5b..597351fa3 100644 --- a/src/attach.c +++ b/src/attach.c @@ -229,6 +229,7 @@ static void attachFunc( */ if( rc==SQLITE_OK ){ sqlite3BtreeEnterAll(db); + db->init.iDb = 0; rc = sqlite3Init(db, &zErrDyn); sqlite3BtreeLeaveAll(db); } |