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

Make sure the multiplexor does not create unnecessary overflow files.

FossilOrigin-Name: 1238619756c0c26e43d3c1c873cbdeca22ce9d61
This commit is contained in:
drh
2012-01-09 13:41:59 +00:00
parent 730f85a34e
commit ec0c765d9e
4 changed files with 19 additions and 12 deletions

View File

@@ -328,7 +328,6 @@ static sqlite3_file *multiplexSubOpen(
*rc = multiplexSubFilename(pGroup, iChunk);
if( (*rc)==SQLITE_OK && (pSubOpen = pGroup->aReal[iChunk].p)==0 ){
int flags, bExists;
createFlag = (pGroup->flags & SQLITE_OPEN_CREATE)!=0;
flags = pGroup->flags;
if( createFlag ){
flags |= SQLITE_OPEN_CREATE;