/ Check-in [02a05a3b3c]
Login

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

Overview
Comment:Make sure the Expr.iTable field is initialized by tokenExpr().
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | alter-table-rename-column
Files: files | file ages | folders
SHA3-256: 02a05a3b3c6440432fc15daa14678a6eba40759e17e43ae8d63d19a0842de56a
User & Date: drh 2018-08-23 18:22:00
Context
2018-08-23
18:50
The Expr.iColumn field must also be initialized in tokenExpr(). check-in: 772985f18b user: drh tags: alter-table-rename-column
18:22
Make sure the Expr.iTable field is initialized by tokenExpr(). check-in: 02a05a3b3c user: drh tags: alter-table-rename-column
2018-08-21
16:32
Rename internal function sqlite3RenameToken() to sqlite3RenameTokenMap() and sqlite3MoveRenameToken() to sqlite3RenameTokenRemap(). check-in: b9ae9a0a18 user: dan tags: alter-table-rename-column
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/parse.y.

   935    935         p->flags = EP_Leaf;
   936    936         p->iAgg = -1;
   937    937         p->pLeft = p->pRight = 0;
   938    938         p->x.pList = 0;
   939    939         p->pAggInfo = 0;
   940    940         p->pTab = 0;
   941    941         p->op2 = 0;
          942  +      p->iTable = 0;
   942    943   #ifndef SQLITE_OMIT_WINDOWFUNC
   943    944         p->pWin = 0;
   944    945   #endif
   945    946         p->u.zToken = (char*)&p[1];
   946    947         memcpy(p->u.zToken, t.z, t.n);
   947    948         p->u.zToken[t.n] = 0;
   948    949         if( sqlite3Isquote(p->u.zToken[0]) ){