Filter:

Commits on November 07, 2007

Commits2 commits of which 2 backported
0Author
2Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBackportedImprove the performance of LIKE/regex estimation in non-C locales, by making make_greater_string() try harder to generate a string that's actually greater than its input string. Before we just assumed that making a string that was memcmp-greater was enough, but it is easy to generate examples where this is not so when the locale is not C. Instead, loop until the relevant comparison function agrees that the generated string is greater than the input.
2de946be
master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+19 more
No linked threadNov 07, 2007
CommitterBackportedFix patternsel() and callers to do the right thing for NOT LIKE and the other negated-match operators. patternsel had been using the supplied operator as though it were a positive-match operator, and thus obtaining a wrong result, which was even more wrong after the caller subtracted it from 1. Seems cleanest to give patternsel an explicit "negate" argument so that it knows what's going on. Also install the same factorization scheme for pattern join selectivity estimators; even though they are just stubs at the moment, this may keep someone from making the same type of mistake when they get filled out. Per report from Greg Mullane.
95422871
master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+18 more
No linked threadNov 07, 2007