mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for bug #9486 "Can't perform multi-update in stored procedure".
New more SP-locking friendly approach to handling locks in multi-update. Now we mark all tables of multi-update as needing write lock at parsing stage and if possible downgrade lock at execution stage (For its work SP-locking mechanism needs to know all lock types right after parsing stage).
This commit is contained in:
@ -732,7 +732,7 @@ typedef struct st_lex
|
||||
USER_RESOURCES mqh;
|
||||
ulong type;
|
||||
enum_sql_command sql_command, orig_sql_command;
|
||||
thr_lock_type lock_option, multi_lock_option;
|
||||
thr_lock_type lock_option;
|
||||
enum SSL_type ssl_type; /* defined in violite.h */
|
||||
enum my_lex_states next_state;
|
||||
enum enum_duplicates duplicates;
|
||||
|
Reference in New Issue
Block a user