From 2ee14ef9c31c5db231bba0acc6d34ff18582353f Mon Sep 17 00:00:00 2001 From: Igor Babaev Date: Fri, 1 Jun 2012 17:38:32 -0700 Subject: [PATCH] Fixed a buildbot failure with a testcase from statistics.test that analyzes only some columns from a table. --- sql/sql_admin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc index 57eb2f98727..efb077f948d 100644 --- a/sql/sql_admin.cc +++ b/sql/sql_admin.cc @@ -670,7 +670,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables, compl_result_code= result_code= HA_ADMIN_INVALID; break; } - bitmap_set_bit(tab->read_set, --pos); + bitmap_set_bit(tab->read_set, pos-1); } tab->file->column_bitmaps_signal(); }