summaryrefslogtreecommitdiff
path: root/sql/sql_admin.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-07-21 20:11:07 +0200
committerSergei Golubchik <serg@mariadb.org>2021-07-21 20:11:07 +0200
commit6190a02f3593f82e2d4916ed660afb5e5d631a5a (patch)
treef6fc56fd7aad1a332f9fc6850b2d579198d09ff8 /sql/sql_admin.cc
parentcf6d83e7d68bd2bc0af0404bf4dd15218847074d (diff)
parent4c387945f0f8d5df84ae987c4a4bba7675815c72 (diff)
downloadmariadb-git-6190a02f3593f82e2d4916ed660afb5e5d631a5a.tar.gz
Merge branch '10.2' into 10.3
Diffstat (limited to 'sql/sql_admin.cc')
-rw-r--r--sql/sql_admin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc
index 5a625eb4f62..71afba74215 100644
--- a/sql/sql_admin.cc
+++ b/sql/sql_admin.cc
@@ -859,7 +859,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
enum enum_field_types type= (*field_ptr)->type();
if (type < MYSQL_TYPE_MEDIUM_BLOB ||
type > MYSQL_TYPE_BLOB)
- bitmap_set_bit(tab->read_set, fields);
+ tab->field[fields]->register_field_in_read_map();
else
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
ER_NO_EIS_FOR_FIELD,
@@ -887,7 +887,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
enum enum_field_types type= tab->field[pos]->type();
if (type < MYSQL_TYPE_MEDIUM_BLOB ||
type > MYSQL_TYPE_BLOB)
- bitmap_set_bit(tab->read_set, pos);
+ tab->field[pos]->register_field_in_read_map();
else
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
ER_NO_EIS_FOR_FIELD,