Commit 65dbfb2f authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1723

small change

git-svn-id: file:///svn/mysql/tokudb-engine/src@11524 c7de825b-a66e-492c-adef-691d508d4ae1
parent d6e85811
...@@ -2837,7 +2837,10 @@ void ha_tokudb::set_query_columns(uint keynr) { ...@@ -2837,7 +2837,10 @@ void ha_tokudb::set_query_columns(uint keynr) {
} }
void ha_tokudb::column_bitmaps_signal() { 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); set_query_columns(active_index);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment