1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Changed field_index to use field_index_t instead of uint16

This commit is contained in:
Monty
2020-08-14 11:28:39 +03:00
committed by Sergei Golubchik
parent 00d13069dd
commit 963e5e406d
10 changed files with 42 additions and 36 deletions

View File

@ -6014,10 +6014,10 @@ find_field_in_natural_join(THD *thd, TABLE_LIST *table_ref, const char *name, si
Field *
find_field_in_table(THD *thd, TABLE *table, const char *name, size_t length,
bool allow_rowid, uint16 *cached_field_index_ptr)
bool allow_rowid, field_index_t *cached_field_index_ptr)
{
Field *field;
uint16 cached_field_index= *cached_field_index_ptr;
field_index_t cached_field_index= *cached_field_index_ptr;
DBUG_ENTER("find_field_in_table");
DBUG_PRINT("enter", ("table: '%s', field name: '%s'", table->alias.c_ptr(),
name));
@ -6113,7 +6113,7 @@ find_field_in_table_ref(THD *thd, TABLE_LIST *table_list,
ignored_tables_list_t ignored_tables,
Item **ref,
bool check_privileges, bool allow_rowid,
uint16 *cached_field_index_ptr,
field_index_t *cached_field_index_ptr,
bool register_tree_change, TABLE_LIST **actual_table)
{
Field *fld;