summaryrefslogtreecommitdiff
path: root/sql/partition_element.h
diff options
context:
space:
mode:
authorunknown <gluh@eagle.intranet.mysql.r18.ru>2006-03-07 15:25:08 +0400
committerunknown <gluh@eagle.intranet.mysql.r18.ru>2006-03-07 15:25:08 +0400
commit807c7a6a49e6a78d87edb835185d3e69acaeea98 (patch)
tree8df887a5a4ec972aa7cf8c293da8463b078eb293 /sql/partition_element.h
parent8cf8e4ed37ab4d5ce22db7359544a3db14e5fb41 (diff)
downloadmariadb-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_element.h')
-rw-r--r--sql/partition_element.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/partition_element.h b/sql/partition_element.h
index 8a11c332897..d20715d2408 100644
--- a/sql/partition_element.h
+++ b/sql/partition_element.h
@@ -51,13 +51,14 @@ public:
handlerton *engine_type;
enum partition_state part_state;
uint16 nodegroup_id;
+ bool has_null_value;
partition_element()
: part_max_rows(0), part_min_rows(0), partition_name(NULL),
tablespace_name(NULL), range_value(0), part_comment(NULL),
data_file_name(NULL), index_file_name(NULL),
engine_type(NULL),part_state(PART_NORMAL),
- nodegroup_id(UNDEF_NODEGROUP)
+ nodegroup_id(UNDEF_NODEGROUP), has_null_value(FALSE)
{
subpartitions.empty();
list_val_list.empty();