And do not flatten an aggregate subquery into a query that uses other
subqueries. Fixes for tickets [ca0d20b6cdddec5] and
[2f7170d73bf9], respectively.
FossilOrigin-Name: 24e78b8d65734a6a8ae21a20542cd1839e756fb1
uses other subqueries in its result set or WHERE clause or ORDER BY clause.
Preliminary fix for ticket [2f7170d73bf9abf8]. However it still contains
a defect similar to the COLLATE problem of [ca0d20b6cddd].
FossilOrigin-Name: 0b7d65e3fda676d193347cb782854c28a48252af
of before flattening, so that it is always seen even if flattening does not
occur. Also: add the hex pointer value to the top of each SELECT tree.
FossilOrigin-Name: aa093fef2d2a7e26d987b46654963e4d7e66d444
parameters to sqlite3_blob_read() and sqlite3_blob_write(). For
sqlite3_blob_open(), make sure the *ppBlob return parameter is zeroed if
the interface fails with SQLITE_MISUSE.
FossilOrigin-Name: 5df02f50f8348dfde4fc15126abc7b7ef7803e69
which is the ATTACH-ed DB about which information is provided. Provide
".indexes" as an alternative name to the legacy ".indices" command.
FossilOrigin-Name: 0f65a7e2e09f801b66897479d501607caeae4abf
reference the table PRIMARY KEY in addition to the index key fields.
Add extra columns "desc", "coll", and "key" to the index_info and index_xinfo
pragmas. Add the "origin" and "partial" columns to the index_list pragma.
FossilOrigin-Name: 2743846cdba572f616f56d310633703b8b50959e
of parameters. Give it the ability to reset the schema parse table so that
imposter tables can be erased.
FossilOrigin-Name: 42d5601739c90434e5adfda8fa99ef7b903877db
that comes about because the Expr.pTab field is checked on an
EXPR_REDUCEDSIZE Expr object before checking the Expr.op field to
know that the Expr.pTab field is meaningless.
FossilOrigin-Name: e098de691002a78270540430b0df1e120582b53f
automatically flushes. This has always been the case already for unix and
on Windows when the output is a console, but apparently was not the case
on Windows when the output was a pipe.
FossilOrigin-Name: 2a9ea9b4a7d6904efb2112e32efe84123dfa75d7
and unwind the stack before those errors have a chance to mischief
in the "*" column-name wildcard expander. Fix for ticket [32b63d542433ca67].
FossilOrigin-Name: 9e6eae660a02303fd140dac5fbff82364f4120cd
ORDER BY or GROUP BY clauses is set correctly, so that the
sqlite3VdbeFindCompare() routine can choose the correct comparison function.
Add assert() statements to the high-speed comparison functions to detect
cases where they are inappropriately chosen.
Fix for ticket [f97c4637102a3ae72b7911].
FossilOrigin-Name: f7201bb0cdc9e1425c68599b32434de2231dca36
ORDER BY and GROUP BY is set correctly, so that the correct comparison
function can be choosen by sqlite3VdbeFindCompare().
FossilOrigin-Name: c16bae5e699b851f4ca8414c5dfa5370b18f69f0
values of KeyInfo.nField+KeyInfo.nXField and the number of columns in a record.
This version of the assert() only fires when the high-speed comparison
routines are used - which is to say it only fires when the constraint
actually matters.
FossilOrigin-Name: bf744b4908b096f301565f6a4ea8d56667c1d76a