1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

after merge fixes

mysql-test/r/fulltext.result:
  after merge - test results updated
sql/sql_class.cc:
  protection
This commit is contained in:
unknown
2005-03-09 19:22:30 +01:00
parent cd4961830e
commit d1b3c64b23
6 changed files with 14 additions and 9 deletions

View File

@@ -1781,7 +1781,11 @@ void TMP_TABLE_PARAM::init()
void thd_increment_bytes_sent(ulong length)
{
current_thd->status_var.bytes_sent+= length;
THD *thd=current_thd;
if (likely(thd))
{ /* current_thd==0 when close_connection() calls net_send_error() */
thd->status_var.bytes_sent+= length;
}
}