diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-05-22 21:56:36 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-06-01 09:43:40 +0200 |
commit | 6660c072ada63847e0284026598f65f1e6d6bb2e (patch) | |
tree | 4db3ae08b8c5669d85f70632b9ad505c05663a51 /sql/sql_base.h | |
parent | 1d4ac3d4d3ec3d52284f7260907111618f6cb6d9 (diff) | |
download | mariadb-git-6660c072ada63847e0284026598f65f1e6d6bb2e.tar.gz |
MDEV-19491 update query stopped working after mariadb upgrade 10.2.23 -> 10.2.24
as well as
MDEV-19500 Update with join stopped worked if there is a call to a procedure in a trigger
MDEV-19521 Update Table Fails with Trigger and Stored Function
MDEV-19497 Replication stops because table not found
MDEV-19527 UPDATE + JOIN + TRIGGERS = table doesn't exists error
Reimplement the fix for (5d510fdbf00)
MDEV-18507 can't update temporary table when joined with table with triggers on read-only
instead of calling open_tables() twice, put multi-update
prepare code inside open_tables() loop.
Add a test for a MDL backoff-and-retry loop inside open_tables()
across multi-update prepare code.
Diffstat (limited to 'sql/sql_base.h')
-rw-r--r-- | sql/sql_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_base.h b/sql/sql_base.h index ea92e880db7..439052a28f5 100644 --- a/sql/sql_base.h +++ b/sql/sql_base.h @@ -426,6 +426,7 @@ class Prelocking_strategy public: virtual ~Prelocking_strategy() { } + virtual void reset(THD *thd) { }; virtual bool handle_routine(THD *thd, Query_tables_list *prelocking_ctx, Sroutine_hash_entry *rt, sp_head *sp, bool *need_prelocking) = 0; @@ -433,6 +434,7 @@ public: TABLE_LIST *table_list, bool *need_prelocking) = 0; virtual bool handle_view(THD *thd, Query_tables_list *prelocking_ctx, TABLE_LIST *table_list, bool *need_prelocking)= 0; + virtual bool handle_end(THD *thd) { return 0; }; }; |