diff options
author | unknown <mskold/marty@mysql.com/linux.site> | 2007-02-06 23:06:58 +0100 |
---|---|---|
committer | unknown <mskold/marty@mysql.com/linux.site> | 2007-02-06 23:06:58 +0100 |
commit | ba8a684dcb8204eac3e376989bc3f680166941f9 (patch) | |
tree | 416b3ad971e13c15e93988e59cfc7db4aae9b5d8 /sql/ha_ndbcluster.h | |
parent | c9950f2694b3f1533a884b5e0300ccddb98462e7 (diff) | |
download | mariadb-git-ba8a684dcb8204eac3e376989bc3f680166941f9.tar.gz |
Fix for bug#25821 Excessive partition pruning for multi-range index scan in NDB API: don't set distribution key if multi_range
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index 5d66a7920f9..eeca67d506a 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -661,6 +661,7 @@ private: const NdbOperation *first, const NdbOperation *last, uint errcode); + bool key_fields_not_in_write_set(THD *thd, const KEY* key_info); int peek_indexed_rows(const byte *record, bool check_pk); int unique_index_read(const byte *key, uint key_len, byte *buf); |