diff options
author | gluh@eagle.intranet.mysql.r18.ru <> | 2006-03-07 15:25:08 +0400 |
---|---|---|
committer | gluh@eagle.intranet.mysql.r18.ru <> | 2006-03-07 15:25:08 +0400 |
commit | bcf710e97cfd94bf6095b64fa8d671eaf5b70818 (patch) | |
tree | 8df887a5a4ec972aa7cf8c293da8463b078eb293 /sql/partition_info.h | |
parent | 1e0289041c6552df5b0ee2ad67d683c13dc3af58 (diff) | |
download | mariadb-git-bcf710e97cfd94bf6095b64fa8d671eaf5b70818.tar.gz |
Fix for bug#15447 Partitions: NULL is treated as zero
NULL value handling
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r-- | sql/partition_info.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h index c8cb4ae407a..4a00f5c889f 100644 --- a/sql/partition_info.h +++ b/sql/partition_info.h @@ -181,6 +181,9 @@ public: bool linear_hash_ind; bool fixed; bool from_openfrm; + bool has_null_value; + uint has_null_part_id; + partition_info() : get_partition_id(NULL), get_part_partition_id(NULL), @@ -211,7 +214,9 @@ public: list_of_part_fields(FALSE), list_of_subpart_fields(FALSE), linear_hash_ind(FALSE), fixed(FALSE), - from_openfrm(FALSE) + from_openfrm(FALSE), + has_null_value(FALSE), + has_null_part_id(0) { all_fields_in_PF.clear_all(); all_fields_in_PPF.clear_all(); |