mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge bk-internal:/home/bk/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint sql/set_var.cc: Auto merged
This commit is contained in:
@@ -2927,6 +2927,7 @@ static byte *get_warning_count(THD *thd)
|
||||
{
|
||||
thd->sys_var_tmp.long_value=
|
||||
(thd->warn_count[(uint) MYSQL_ERROR::WARN_LEVEL_NOTE] +
|
||||
thd->warn_count[(uint) MYSQL_ERROR::WARN_LEVEL_ERROR] +
|
||||
thd->warn_count[(uint) MYSQL_ERROR::WARN_LEVEL_WARN]);
|
||||
return (byte*) &thd->sys_var_tmp.long_value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user