1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +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

@@ -339,7 +339,7 @@ public:
if (min_flag || max_flag)
return FALSE;
byte *min_val= (byte *)min_value;
byte *max_val= (byte *)min_value;
byte *max_val= (byte *)max_value;
if (maybe_null)
{