diff options
author | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2006-03-07 15:25:08 +0400 |
---|---|---|
committer | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2006-03-07 15:25:08 +0400 |
commit | 807c7a6a49e6a78d87edb835185d3e69acaeea98 (patch) | |
tree | 8df887a5a4ec972aa7cf8c293da8463b078eb293 /sql/partition_info.h | |
parent | 8cf8e4ed37ab4d5ce22db7359544a3db14e5fb41 (diff) | |
download | mariadb-git-807c7a6a49e6a78d87edb835185d3e69acaeea98.tar.gz |
Fix for bug#15447 Partitions: NULL is treated as zero
NULL value handling
mysql-test/r/ndb_partition_error.result:
Fix for bug#15447 Partitions: NULL is treated as zero
test case
mysql-test/r/partition.result:
Fix for bug#15447 Partitions: NULL is treated as zero
test case
mysql-test/t/ndb_partition_error.test:
Fix for bug#15447 Partitions: NULL is treated as zero
test case
mysql-test/t/partition.test:
Fix for bug#15447 Partitions: NULL is treated as zero
test case
sql/partition_element.h:
Fix for bug#15447 Partitions: NULL is treated as zero
added null value flag to partition_element object
sql/partition_info.h:
Fix for bug#15447 Partitions: NULL is treated as zero
added null value flag to partition_info object
added has_null partition id variable
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(); |