1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MENT-510 Failing test(s): perfschema.threads_insert_delayed.

orig_test_id should be set properly.
Also fixed sporadic test failure.
This commit is contained in:
HF
2019-11-29 21:25:52 +00:00
parent bd11bd63cc
commit 3fb0fe400c
3 changed files with 15 additions and 7 deletions

View File

@ -2104,6 +2104,7 @@ public:
status(0), retry(0), handler_thread_initialized(FALSE), group_count(0)
{
DBUG_ENTER("Delayed_insert constructor");
orig_thread_id= thd.thread_id;
set_default_user();
strmake_buf(thd.security_ctx->priv_user, thd.security_ctx->user);
thd.current_tablenr=0;