Commit 2ee14ef9 authored by Igor Babaev's avatar Igor Babaev

Fixed a buildbot failure with a testcase from statistics.test

that analyzes only some columns from a table.
parent 27ab0124
...@@ -670,7 +670,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables, ...@@ -670,7 +670,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
compl_result_code= result_code= HA_ADMIN_INVALID; compl_result_code= result_code= HA_ADMIN_INVALID;
break; break;
} }
bitmap_set_bit(tab->read_set, --pos); bitmap_set_bit(tab->read_set, pos-1);
} }
tab->file->column_bitmaps_signal(); tab->file->column_bitmaps_signal();
} }
......
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