mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Add comment to the columnIsGoodIndexCandidate() routine to record the results
of a failed experiment. No changes to code. FossilOrigin-Name: 9ee57a30a49d9813bf2669a5d8346f7e018e3fbf1792739951311a8d3a249d45
This commit is contained in:
@ -860,6 +860,11 @@ static int constraintCompatibleWithOuterJoin(
|
||||
** more than 20, then return false.
|
||||
**
|
||||
** 3. If no disqualifying conditions above are found, return true.
|
||||
**
|
||||
** 2025-01-03: I experimented with a new rule that returns false if the
|
||||
** the datatype of the column is "BOOLEAN". This did not improve
|
||||
** performance on any queries at hand, but it did burn CPU cycles, so the
|
||||
** idea was not committed.
|
||||
*/
|
||||
static SQLITE_NOINLINE int columnIsGoodIndexCandidate(
|
||||
const Table *pTab,
|
||||
|
Reference in New Issue
Block a user