/ Check-in [c931ca2b]
Login

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

Overview
Comment:Fix a formatting error ("%d" needed in place of "%g") on a WHERETRACE macro inside of the query planner. This fix applies to debugging logic only.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c931ca2b7763cf894ece26ca4775d638876107e9
User & Date: drh 2014-08-28 13:42:13
Context
2014-08-28
17:30
Fix a problem causing an inaccurate stat4-based estimate for the number of rows visited by a range scan. check-in: a9daf3ac user: drh tags: trunk
16:01
Fix a problem causing an inaccurate stat4-based estimate for the number of rows visited by a range scan. check-in: 052d89b5 user: dan tags: stat4-experimental
13:42
Fix a formatting error ("%d" needed in place of "%g") on a WHERETRACE macro inside of the query planner. This fix applies to debugging logic only. check-in: c931ca2b user: drh tags: trunk
2014-08-27
23:18
Refactor the sqlite3PcacheFetch() routine into three separate routines, which are significantly faster overall and about 100 bytes smaller in size as well. check-in: bdb6e497 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/where.c.

  2386   2386       nRowEst += nEst;
  2387   2387       pBuilder->nRecValid = nRecValid;
  2388   2388     }
  2389   2389   
  2390   2390     if( rc==SQLITE_OK ){
  2391   2391       if( nRowEst > nRow0 ) nRowEst = nRow0;
  2392   2392       *pnRow = nRowEst;
  2393         -    WHERETRACE(0x10,("IN row estimate: est=%g\n", nRowEst));
         2393  +    WHERETRACE(0x10,("IN row estimate: est=%d\n", nRowEst));
  2394   2394     }
  2395   2395     assert( pBuilder->nRecValid==nRecValid );
  2396   2396     return rc;
  2397   2397   }
  2398   2398   #endif /* SQLITE_ENABLE_STAT3_OR_STAT4 */
  2399   2399   
  2400   2400   /*