summaryrefslogtreecommitdiff
path: root/sql/ha_federated.h
diff options
context:
space:
mode:
authorunknown <pgalbraith/patg@buffy.netfrastructure.com>2006-07-25 18:38:09 -0400
committerunknown <pgalbraith/patg@buffy.netfrastructure.com>2006-07-25 18:38:09 -0400
commitfe4d656d552c864affbffda7d330a120bcac87a5 (patch)
treeb98e112465eeeea09ba51b1da858886fcef58cb0 /sql/ha_federated.h
parent9378fc627ecaf22d47bfd0de1c192953c96d5159 (diff)
downloadmariadb-git-fe4d656d552c864affbffda7d330a120bcac87a5.tar.gz
BUG #15133 "unique index with nullable value not accepted in federated table"
Added HA_NULL_IN_KEY to table flags to allow for nullable unique indexes and added test to verify ha_federated.h: BUG #15133 "unique index with nullable value not accepted in federated table" added HA_NULL_IN_KEY to table flags to allow for nullable unique indexes federated.test: BUG #15133 "unique index with nullable value not accepted in federated table" New test to show that nullable unique indexes work federated.result: BUG #15133 "unique index with nullable value not accepted in federated table" New results for new test sql/ha_federated.h: BUG #15133 "unique index with nullable value not accepted in federated table" added HA_NULL_IN_KEY to table flags to allow for nullable unique indexes mysql-test/t/federated.test: BUG #15133 "unique index with nullable value not accepted in federated table" New test to show that nullable unique indexes work mysql-test/r/federated.result: BUG #15133 "unique index with nullable value not accepted in federated table" New results for new test
Diffstat (limited to 'sql/ha_federated.h')
-rw-r--r--sql/ha_federated.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/ha_federated.h b/sql/ha_federated.h
index 85474d142a3..61f5af686a3 100644
--- a/sql/ha_federated.h
+++ b/sql/ha_federated.h
@@ -196,7 +196,9 @@ public:
/* fix server to be able to get remote server table flags */
return (HA_NOT_EXACT_COUNT |
HA_PRIMARY_KEY_IN_READ_INDEX | HA_FILE_BASED | HA_REC_NOT_IN_SEQ |
- HA_AUTO_PART_KEY | HA_CAN_INDEX_BLOBS| HA_NO_PREFIX_CHAR_KEYS);
+ HA_AUTO_PART_KEY | HA_CAN_INDEX_BLOBS| HA_NO_PREFIX_CHAR_KEYS |
+ HA_NULL_IN_KEY
+ );
}
/*
This is a bitmap of flags that says how the storage engine