Browse Source

addresses #1723

small change

git-svn-id: file:///svn/mysql/tokudb-engine/src@11524 c7de825b-a66e-492c-adef-691d508d4ae1
pull/73/head
Zardosht Kasheff 13 years ago
committed by Yoni Fogel
parent
commit
65dbfb2f0b
  1. 5
      storage/tokudb/ha_tokudb.cc

5
storage/tokudb/ha_tokudb.cc

@ -2837,7 +2837,10 @@ void ha_tokudb::set_query_columns(uint keynr) {
}
void ha_tokudb::column_bitmaps_signal() {
if (active_index != MAX_KEY) {
//
// if we have max number of indexes, then MAX_KEY == primary_key
//
if (active_index != MAX_KEY || active_index == primary_key) {
set_query_columns(active_index);
}
}

Loading…
Cancel
Save