Skip to content

Conversation

@svoj
Copy link
Contributor

@svoj svoj commented Dec 28, 2025

Test output was affected by incompletely closed preceding connections.

Wait for connections to leave I_S.PROCESSLIST before issuing SHOW PROCESSLIST.

Also fixes MDEV-12175 - funcs_1.processlist_val_ps failed in buildbot.

…ildbot

Test output was affected by incompletely closed preceding connections.

Wait for connections to leave I_S.PROCESSLIST before issuing
SHOW PROCESSLIST.

Also fixes MDEV-12175 - funcs_1.processlist_val_ps failed in buildbot.
@gkodinov gkodinov added the MariaDB Foundation Pull requests created by MariaDB Foundation label Dec 29, 2025
@vuvova
Copy link
Member

vuvova commented Dec 29, 2025

how could a stale connection cause this diff?

@svoj
Copy link
Contributor Author

svoj commented Dec 29, 2025

@vuvova Not sure I understand your question. As described in MDEV-12175 and MDEV-11223, SHOW PROCESSLIST and SELECT ... FROM I_S.PROCESSLIST emit extra row. Which comes from stale mtr-check connection.

Or did you mean this query?

SELECT COUNT(*) = 2 AS "Is HOST LIKE 'localhost%'?"
FROM INFORMATION_SCHEMA.PROCESSLIST
WHERE HOST LIKE 'localhost%';

Same answer though: COUNT(*) is going to be 3.

@svoj
Copy link
Contributor Author

svoj commented Dec 29, 2025

It appears that I messed up mdevs again. I will sort it out. Sorry. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Foundation Pull requests created by MariaDB Foundation

Development

Successfully merging this pull request may close these issues.

3 participants