summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2022-06-06 17:07:17 +0300
committerVicențiu Ciorbaru <cvicentiu@gmail.com>2022-06-12 17:24:12 +0300
commiteea0a7f7a5b35ec4ef2a78fd4da21b8f942ef3ac (patch)
treebe09ebc43ce3f92ce2981131bf85dc1fbfe98e26
parentac15f2bb9e578e4cc026b3ad6c72724de5881fa4 (diff)
downloadmariadb-git-eea0a7f7a5b35ec4ef2a78fd4da21b8f942ef3ac.tar.gz
cleanup: fix typo need_all_fieds -> need_all_fields
-rw-r--r--sql/sql_show.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 0e29186272d..eded92984fb 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -8272,7 +8272,7 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
TABLE *table;
ST_SCHEMA_TABLE *schema_table= table_list->schema_table;
ST_FIELD_INFO *fields= schema_table->fields_info;
- bool need_all_fieds= table_list->schema_table_reformed || // SHOW command
+ bool need_all_fields= table_list->schema_table_reformed || // SHOW command
thd->lex->only_view_structure(); // need table structure
DBUG_ENTER("create_schema_table");
@@ -8288,7 +8288,7 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
bool keep_row_order= is_show_command(thd);
if (!(table= create_tmp_table_for_schema(thd, tmp_table_param, *schema_table,
(select_lex->options | thd->variables.option_bits | TMP_TABLE_ALL_COLUMNS),
- table_list->alias, !need_all_fieds, keep_row_order)))
+ table_list->alias, !need_all_fields, keep_row_order)))
DBUG_RETURN(0);
my_bitmap_map* bitmaps=
(my_bitmap_map*) thd->alloc(bitmap_buffer_size(field_count));