/ Check-in [22ae8a52]
Login

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

Overview
Comment:Minor code simplification.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 22ae8a52dd2fb744f467c7dccf1d7fe7c7cef0e1dcc897dd492f897e84c9facb
User & Date: drh 2018-09-20 20:43:28
Context
2018-09-21
13:07
Optimization to the OP_MakeRecord opcode makes speed-check.sh run about 1.1 million cycles faster, and results in a slightly smaller library. check-in: d10e6362 user: drh tags: trunk
2018-09-20
20:43
Minor code simplification. check-in: 22ae8a52 user: drh tags: trunk
20:15
Add the "PRAGMA legacy_alter_table=ON" command to enable the pre-3.25.0 behavior of ALTER TABLE that does not modify the bodies of triggers or views or the WHERE clause of a partial index. Enable the legacy behavior by default when running the xRename method of virtual tables. check-in: 7edd26ed user: drh tags: trunk
2018-09-19
18:17
A minor code simplification, saved in a branch for future reference. Leaf check-in: 5e458f4a user: drh tags: minor-altertab-simplification
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/resolve.c.

   685    685             pLeft = pRight->pLeft;
   686    686             pRight = pRight->pRight;
   687    687           }
   688    688           zTable = pLeft->u.zToken;
   689    689           zColumn = pRight->u.zToken;
   690    690           if( IN_RENAME_OBJECT ){
   691    691             sqlite3RenameTokenRemap(pParse, (void*)pExpr, (void*)pRight);
   692         -        }
   693         -        if( IN_RENAME_OBJECT ){
   694    692             sqlite3RenameTokenRemap(pParse, (void*)&pExpr->y.pTab, (void*)pLeft);
   695    693           }
   696    694         }
   697    695         return lookupName(pParse, zDb, zTable, zColumn, pNC, pExpr);
   698    696       }
   699    697   
   700    698       /* Resolve function names