1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix for BUG#18025: Wrong query results because of bugs in partition pruning:

- Fix typo bug in SEL_ARG::is_singlepoint()
 - In set_up_range_analysis_info(), treat MEDIUMINT as enumerable type just like other integer types
This commit is contained in:
sergefp@mysql.com
2006-03-31 15:17:15 +04:00
parent 8553a60e76
commit 3886483b54
4 changed files with 72 additions and 1 deletions

View File

@ -5643,6 +5643,7 @@ static void set_up_range_analysis_info(partition_info *part_info)
switch (field->type()) {
case MYSQL_TYPE_TINY:
case MYSQL_TYPE_SHORT:
case MYSQL_TYPE_INT24:
case MYSQL_TYPE_LONG:
case MYSQL_TYPE_LONGLONG:
part_info->get_part_iter_for_interval=