/ Check-in [19ab4811]
Login

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

Overview
Comment:Fix an uninitialized variable detected by valgrind. Unclear whether or not this should apply to trunk.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | nextgen-query-plan-exp
Files: files | file ages | folders
SHA1: 19ab4811d542ba781aeb6a4eb3c74642677225e1
User & Date: drh 2013-06-26 00:34:13
Context
2013-06-26
11:43
Cut over the next generation query planner. Increase the version number to 3.8.0. check-in: 0fe31f60 user: drh tags: trunk
00:34
Fix an uninitialized variable detected by valgrind. Unclear whether or not this should apply to trunk. Closed-Leaf check-in: 19ab4811 user: drh tags: nextgen-query-plan-exp
2013-06-20
17:32
Add a NEVER() macro and an explanation comment around an unreachable branch in the STAT3 logic. check-in: 604c3c5d user: drh tags: nextgen-query-plan-exp
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/expr.c.

   916    916     for(i=0; i<p->nExpr; i++, pItem++, pOldItem++){
   917    917       Expr *pOldExpr = pOldItem->pExpr;
   918    918       pItem->pExpr = sqlite3ExprDup(db, pOldExpr, flags);
   919    919       pItem->zName = sqlite3DbStrDup(db, pOldItem->zName);
   920    920       pItem->zSpan = sqlite3DbStrDup(db, pOldItem->zSpan);
   921    921       pItem->sortOrder = pOldItem->sortOrder;
   922    922       pItem->done = 0;
          923  +    pItem->bSpanIsTab = pOldItem->bSpanIsTab;
   923    924       pItem->iOrderByCol = pOldItem->iOrderByCol;
   924    925       pItem->iAlias = pOldItem->iAlias;
   925    926     }
   926    927     return pNew;
   927    928   }
   928    929   
   929    930   /*