mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-33990: SHOW STATUS counts ER_CON_COUNT_ERROR as Connection_errors_internal
Bring info about cause of closing connection in the place where we increment statistics to do it correctly.
This commit is contained in:
@ -61,7 +61,7 @@ public:
|
||||
count--;
|
||||
DBUG_ASSERT(vio_type == VIO_CLOSED);
|
||||
}
|
||||
void close_and_delete();
|
||||
void close_and_delete(uint err);
|
||||
void close_with_error(uint sql_errno,
|
||||
const char *message, uint close_error);
|
||||
THD *create_thd(THD *thd);
|
||||
|
Reference in New Issue
Block a user