diff options
author | drh <drh@noemail.net> | 2018-05-02 14:24:34 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-05-02 14:24:34 +0000 |
commit | 03c3905f94be896702293266bee7cef9dcbae68e (patch) | |
tree | ea1c5322e66c653697c17f8f50c8061a6e6c1ee5 /src/wherecode.c | |
parent | c631ded5e886df1aad0a82806f4b66e740acce12 (diff) | |
download | sqlite-03c3905f94be896702293266bee7cef9dcbae68e.tar.gz sqlite-03c3905f94be896702293266bee7cef9dcbae68e.zip |
Fix a dangling-else problem that was causing recursive CTEs to malfunction.
Begin fixing test cases to work with the new EQP output.
FossilOrigin-Name: 82ca44b82fed6814c84440ba8bfaa019488ab956e84ac165180e2fcece6facb2
Diffstat (limited to 'src/wherecode.c')
-rw-r--r-- | src/wherecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index c1987d6b0..7f9933fad 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -152,7 +152,7 @@ int sqlite3WhereExplainOneScan( sqlite3StrAccumInit(&str, db, zBuf, sizeof(zBuf), SQLITE_MAX_LENGTH); sqlite3StrAccumAppendAll(&str, isSearch ? "SEARCH" : "SCAN"); if( pItem->pSelect ){ - sqlite3XPrintf(&str, " SUBQUERY %p", pItem->pSelect); + sqlite3XPrintf(&str, " SUBQUERY 0x%p", pItem->pSelect); }else{ sqlite3XPrintf(&str, " TABLE %s", pItem->zName); } |