/ Changes On Branch unlikely-func

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

Changes In Branch unlikely-func Excluding Merge-Ins

This is equivalent to a diff from 75a8a8c1b3 to 695aee46e9

Adjust the query planner to take into account WHERE clause terms that do not drive indices. Add the unlikely() and likelihood() functions used to give hints to the query planner about the selectivity of WHERE clause terms. (check-in: bc446449a1 user: drh tags: trunk)
Refactor the ExprSetIrreducible() macro into ExprSetVVAProperty(*,EP_NoReduce). This is a naming change only. The logic is the same. (Closed-Leaf check-in: 695aee46e9 user: drh tags: unlikely-func)
Fix typo in a macro name: "GlogUpperToLower" should be "GlobUpperToLower" (check-in: 73634ca463 user: drh tags: trunk)
Merge in the Expr.flags expansion to 32-bits. Use an extra bit to help optimize the sqlite3ExprSkipCollate() routine. (check-in: 4c84d1b4c2 user: drh tags: unlikely-func)
Increase the number of bits available in Expr.flags. Other tweaks aimed at making expression processing more robust. (Closed-Leaf check-in: 579a512538 user: drh tags: expr-tuning)
For error log messages generated by the Win32 native allocator, make sure the correct format specifier is used for the value returned by GetLastError(). (check-in: 75a8a8c1b3 user: mistachkin tags: trunk)
Fix a couple more harmless compiler warnings. (check-in: 59708674f6 user: mistachkin tags: trunk)

Changes to src/attach.c.

Changes to src/expr.c.

Changes to src/func.c.

Changes to src/parse.y.

Changes to src/resolve.c.

Changes to src/select.c.

Changes to src/sqliteInt.h.

Changes to src/walker.c.

Changes to src/where.c.

Changes to test/analyze9.test.

Added test/whereG.test.