diff options
author | unknown <sergefp@mysql.com> | 2006-07-24 21:58:11 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2006-07-24 21:58:11 +0400 |
commit | 21502e58f9b8f89472cb4fbb738f67ce005701b2 (patch) | |
tree | c127bb5dc431895dee28179b0b8c59716831d24a /sql/sql_select.h | |
parent | e0521ae6748bef98da14ed0b14f53d60fd8ebdc0 (diff) | |
download | mariadb-git-21502e58f9b8f89472cb4fbb738f67ce005701b2.tar.gz |
BUG#20257: Fix partition pruning for BIGINT UNSIGNED:
- Fix problems in the "Interval walking" partition interval analyzer.
mysql-test/r/partition_pruning.result:
BUG#20257: Add more testcases for partition pruning
mysql-test/t/partition_pruning.test:
BUG#20257: Add more testcases for partition pruning
sql/sql_partition.cc:
BUG#20257: Fix partition pruning for BIGINT UNSIGNED, interval walking:
- provide special handling for an edge case of interval of size 4G-1.
- Store interval size in ulonglong, not uint (it was possible to miss partitions this way)
- In get_next_partition_via_walking(), interpret the value of walked-over field as having the
same "signedness" as field (this is so because this value was obtained by calling field->val_int())
- Remove out of date todo comment.
Diffstat (limited to 'sql/sql_select.h')
0 files changed, 0 insertions, 0 deletions