Loading sql/sql_class.cc +1 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
sql/sql_class.cc +1 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading