mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-29748 ASAN errors or server crash in File_parser::parse upon concurrent view operations
Read the version of the view share when we read definition to prevent simultaniouse access to a view table SHARE (and so its MEM_ROOT) from different threads.
This commit is contained in:
@ -64,4 +64,6 @@ extern const LEX_CSTRING view_type;
|
||||
|
||||
void make_valid_column_names(List<Item> &item_list);
|
||||
|
||||
bool mariadb_view_version_get(TABLE_SHARE *share);
|
||||
|
||||
#endif /* SQL_VIEW_INCLUDED */
|
||||
|
Reference in New Issue
Block a user