summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.h
diff options
context:
space:
mode:
authormikael@mysql.com <>2005-11-25 09:11:52 +0100
committermikael@mysql.com <>2005-11-25 09:11:52 +0100
commita6c97bb635a61d2e8444d148df90763bf891903c (patch)
treeef7f85b77d32677de20e2eba20cb08d41fd3f3fa /sql/ha_ndbcluster.h
parenta2bb99397d678e23b0b91373a5893e1fba78a64a (diff)
downloadmariadb-git-a6c97bb635a61d2e8444d148df90763bf891903c.tar.gz
Made set_part_info a handler method and not a ha_partition method only
The previous variant where it was a specific ha_partition method only worked for the partition handler. It was unfortunately called also for the NDB handler and in this case it called a random method in the NDB handler with random input.
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r--sql/ha_ndbcluster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h
index 1b3c717009a..fb506375797 100644
--- a/sql/ha_ndbcluster.h
+++ b/sql/ha_ndbcluster.h
@@ -534,6 +534,7 @@ class ha_ndbcluster: public handler
return (HA_CAN_PARTITION | HA_CAN_UPDATE_PARTITION_KEY |
HA_CAN_PARTITION_UNIQUE);
}
+ void set_part_info(partition_info *part_info);
ulong index_flags(uint idx, uint part, bool all_parts) const;
uint max_supported_record_length() const;
uint max_supported_keys() const;