mirror of
https://github.com/MariaDB/server.git
synced 2026-04-19 14:55:32 +02: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:
parent
e00ea301ef
commit
4fd6dd2d3b
3 changed files with 16 additions and 14 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue