Use %llx instead of %x for 64 bit values (this only affects a debugging statement). (CVS 5170)

FossilOrigin-Name: c81efc97bca58ebbd9500f990f7e45d133e1bd0b
This commit is contained in:
shane
2008-05-28 18:01:44 +00:00
parent ca57b87efe
commit 7bc71e5e82
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
** so is applicable. Because this module is responsible for selecting
** indices, you might also think of this module as the "query optimizer".
**
** $Id: where.c,v 1.304 2008/05/26 18:33:41 drh Exp $
** $Id: where.c,v 1.305 2008/05/28 18:01:45 shane Exp $
*/
#include "sqliteInt.h"
@@ -902,7 +902,7 @@ or_not_possible:
** x>='abc' AND x<'abd' AND x LIKE 'abc%'
**
** The last character of the prefix "abc" is incremented to form the
** termination condidtion "abd".
** termination condition "abd".
*/
if( isLikeOrGlob(db, pExpr, &nPattern, &isComplete, &noCase) ){
Expr *pLeft, *pRight;
@@ -1481,7 +1481,7 @@ static double bestIndex(
int eqTermMask; /* Mask of valid equality operators */
double cost; /* Cost of using pProbe */
WHERETRACE(("bestIndex: tbl=%s notReady=%x\n", pSrc->pTab->zName, notReady));
WHERETRACE(("bestIndex: tbl=%s notReady=%llx\n", pSrc->pTab->zName, notReady));
lowestCost = SQLITE_BIG_DBL;
pProbe = pSrc->pTab->pIndex;