/ Check-in [caaffd32]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove a superfluous "#if 1". No logic changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:caaffd32001ff44c31f2d6dbe921f9d294f869c2c4a81e943fdf3f43f8d9313c
User & Date: drh 2018-02-20 16:39:11
Context
2018-02-20
17:02
In the speed-check.sh script, make WAL mode the default. Add the --legacy option to do DELETE mode. Continue to use DELETE mode for long-term performance graphs since WAL mode was not always available, but use WAL mode for day-to-day performance measurements. check-in: cd816138 user: drh tags: trunk
16:39
Remove a superfluous "#if 1". No logic changes. check-in: caaffd32 user: drh tags: trunk
15:23
Optimize calls to sqlite3_mprintf("%z...") so that they attempt to append text onto the end of the existing memory allocation rather than reallocating and copying. check-in: 4bc8a48e user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/attach.c.

   500    500       }
   501    501       if( sqlite3FixExprList(pFix, pSelect->pOrderBy) ){
   502    502         return 1;
   503    503       }
   504    504       if( sqlite3FixExpr(pFix, pSelect->pLimit) ){
   505    505         return 1;
   506    506       }
   507         -#if 1
   508    507       if( pSelect->pWith ){
   509    508         int i;
   510    509         for(i=0; i<pSelect->pWith->nCte; i++){
   511    510           if( sqlite3FixSelect(pFix, pSelect->pWith->a[i].pSelect) ){
   512    511             return 1;
   513    512           }
   514    513         }
   515    514       }
   516         -#endif
   517    515       pSelect = pSelect->pPrior;
   518    516     }
   519    517     return 0;
   520    518   }
   521    519   int sqlite3FixExpr(
   522    520     DbFixer *pFix,     /* Context of the fixation */
   523    521     Expr *pExpr        /* The expression to be fixed to one database */