mariadb/storage
Dmitry Shulga eeb00ceffd MDEV-35617: DROP USER should leave no active session for that user
Follow-up patch with adjustments of test files and updates of result
files for tests.

Some of tests were rewritten slighlty. Everywhere where common
pattern used:
-----
  CREATE USER userA;
  --connect con1 ... userA ...
   <sql statements...>
  --disconnect con1
  DROP USER userA;
-----
the DROP USER statement has been eclosed into the directive
--disable_warnings
--enable_warnings

This change is caused by the race conddition between --disconnect
and DROP USER since a number of currently running sessions
established on behalf the user being dropped is counted by
holding the rw_lock THD_list_iterator::lock that is not acquired on
execution the DROP USER statement but the lock is taken as the last
step on handling disconnection (when the client is already sending
the next statement). Therefore, for the cases where the command
 --disconnect precedes the DROP USER statement
we hide the possible warnings about presence of active sessions
for the user being deleted to make tests deterministic.
2025-06-09 18:24:28 +07:00
..
archive Merge branch '11.8' into main 2025-04-18 17:11:01 +02:00
blackhole Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
columnstore Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
connect MDEV-35617: DROP USER should leave no active session for that user 2025-06-09 18:24:28 +07:00
csv Fix remaining typos 2025-04-29 11:18:00 +10:00
example Tag push_warning_printf with ATTRIBUTE_FORMAT 2025-02-12 10:17:44 +01:00
federated Fix remaining typos 2025-04-29 11:18:00 +10:00
federatedx Merge remote-tracking branch 'github/bb-11.4-release' into bb-11.8-serg 2025-04-27 19:40:00 +02:00
heap Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
innobase Merge branch '11.8' into 12.0 2025-05-22 09:22:55 +02:00
maria Fix remaining typos 2025-04-29 11:18:00 +10:00
mroonga Merge branch '11.8' into 12.0 2025-05-22 09:22:55 +02:00
myisam Fix remaining typos 2025-04-29 11:18:00 +10:00
myisammrg Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
oqgraph Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
perfschema remove features that were deprecated in 10.5 2025-04-29 16:53:02 +02:00
rocksdb Merge branch '11.8' into 12.0 2025-05-22 09:22:55 +02:00
sequence cleanup: extract transaction-related part of handlerton 2024-11-05 14:00:50 -08:00
sphinx Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
spider MDEV-35617: DROP USER should leave no active session for that user 2025-06-09 18:24:28 +07:00
test_sql_discovery MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00