Details
Description
Test failure:
CURRENT_TEST: main.information_schema_db
|
--- /home/buildbot/amd64-fedora-41/build/mysql-test/main/information_schema_db.result 2025-10-02 09:29:34.000000000 +0000
|
+++ /home/buildbot/amd64-fedora-41/build/mysql-test/main/information_schema_db.reject 2025-10-02 09:53:54.327983068 +0000
|
@@ -269,6 +269,7 @@
|
select * from v1d;
|
current_user() user
|
root@localhost root
|
+root@localhost mysqltest_1
|
root@localhost root
|
select * from v1i;
|
current_user() user
|
The following patch makes failure reliably reproducible:
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()))
|
Cross-reference: link.
Attachments
Issue Links
- is part of
-
MDEV-36647 No red leaves in the forest
-
- Open
-