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:
@ -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;
|
||||
|
Reference in New Issue
Block a user