Skip to content

Commit 8568057

Browse files
Aaron Balsarainikep
Aaron Balsara
authored andcommitted
Share code for srv_session::close() so AC is correctly updated
Summary: Connections through the srv_session API currently do not decrement AC connection counts since srv_session::close() largely duplicates the contents of end_connection. Rather than copy over the multitenancy call, it seems like it would be smarter to have them share common functionality so if anything else gets added it doesn't need to be added to multiple locations Reviewed By: george-reynya Differential Revision: D40443752 fbshipit-source-id: 615ece1
1 parent 2cf6c12 commit 8568057

File tree

4 files changed

+454
-8
lines changed

4 files changed

+454
-8
lines changed

mysql-test/suite/test_service_sql_api/r/test_session_audit_null.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ SHOW STATUS LIKE 'audit_null_connection%';
5151
Variable_name Value
5252
Audit_null_connection_change_user 0
5353
Audit_null_connection_connect 0
54-
Audit_null_connection_disconnect 0
54+
Audit_null_connection_disconnect 10
5555
Audit_null_connection_pre_authenticate 0
5656
##########################################
5757
# Stop audit_null plugin

0 commit comments

Comments
 (0)