mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fix complilation failure
This commit is contained in:
@@ -1782,7 +1782,7 @@ void TMP_TABLE_PARAM::init()
|
||||
void thd_increment_bytes_sent(ulong length)
|
||||
{
|
||||
THD *thd=current_thd;
|
||||
if (likely(thd))
|
||||
if (likely(thd != 0))
|
||||
{ /* current_thd==0 when close_connection() calls net_send_error() */
|
||||
thd->status_var.bytes_sent+= length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user