Details
Description
Test failure:
CURRENT_TEST: main.public_privileges
|
--- /home/svoj/devel/maria/worktree/10.11/mysql-test/main/public_privileges.result 2025-05-26 17:37:26.494932234 +0400
|
+++ /home/svoj/devel/maria/worktree/10.11/mysql-test/main/public_privileges.reject 2025-10-19 13:13:57.532390147 +0400
|
@@ -96,6 +96,7 @@
|
select user,db from information_schema.processlist where user='root';
|
user db
|
root testdb
|
+root NULL
|
call testdb.p1();
|
1
|
1
|
@@ -107,6 +108,7 @@
|
select user,db from information_schema.processlist where user='root';
|
user db
|
root testdb
|
+root NULL
|
call testdb.p1();
|
1
|
1
|
Reproducible with:
diff --git a/sql/sql_connect.cc b/sql/sql_connect.cc
|
index c279f2663c8..c227fee943e 100644
|
--- a/sql/sql_connect.cc
|
+++ b/sql/sql_connect.cc
|
@@ -1483,6 +1483,7 @@ void do_handle_one_connection(CONNECT *connect, bool put_in_cache)
|
if (thd->userstat_running)
|
update_global_user_stats(thd, create_user, time(NULL));
|
 |
+ sleep(1);
|
unlink_thd(thd);
|
if (IF_WSREP(thd->wsrep_applier, false) || !put_in_cache ||
|
!(connect= thread_cache.park()))
|
Attachments
Issue Links
- is duplicated by
-
MDEV-31452 Test main.public_privileges sporadic failure on Debian buildd armhf build
-
- Closed
-
- is part of
-
MDEV-36647 No red leaves in the forest
-
- Open
-