On 2014-09-07, 8:26 AM, Joe Mucchiello wrote:
PmaReader *pReadr; SortSubtask *pLast = &pSorter->aTask[pSorter->nTask-1]; rc = vdbeSortAllocUnpacked(pLast); if( rc==SQLITE_OK ){ pReadr = (PmaReader*)sqlite3DbMallocZero(db, sizeof(PmaReader)); pSorter->pReader = pReadr; if (pReadr == 0) rc = SQLITE_NOMEM; } if (rc == SQLITE_OK){ rc = vdbeIncrMergerNew(pLast, pMain, &pReadr->pIncr); -- << Error line
Why isn't vdbeIncrMergerNew inside the initial if(rc == SQLITE_OK)? That seems more like the right thing to do.
Sohail _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users