mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
Attempt fixing mroonga gcc 8 build failure
Part of MDEV-19061 - table_share used for reading statistical tables is
not protected
This commit is contained in:
parent
c279878493
commit
49854811fa
1 changed files with 1 additions and 1 deletions
|
|
@ -932,7 +932,7 @@ MRN_SHARE *mrn_get_share(const char *table_name, TABLE *table, int *error)
|
|||
share->wrap_key_info = NULL;
|
||||
share->wrap_primary_key = MAX_KEY;
|
||||
}
|
||||
memcpy(wrap_table_share, table->s, sizeof(*wrap_table_share));
|
||||
*wrap_table_share= *table->s;
|
||||
mrn_init_sql_alloc(current_thd, &(wrap_table_share->mem_root));
|
||||
wrap_table_share->keys = share->wrap_keys;
|
||||
wrap_table_share->key_info = share->wrap_key_info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue