mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 19:55:32 +02:00
BUG#6662: Changes after Guilhems and Sergs review
This commit is contained in:
parent
be28ef0a20
commit
1d3c67000b
6 changed files with 28 additions and 9 deletions
|
|
@ -105,7 +105,7 @@ MYSQL_ERROR *push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level,
|
|||
MYSQL_ERROR *err= 0;
|
||||
DBUG_ENTER("push_warning");
|
||||
|
||||
if (level == MYSQL_ERROR::WARN_LEVEL_NOTE && !(thd->options & OPTION_NOTES))
|
||||
if (level == MYSQL_ERROR::WARN_LEVEL_NOTE && !(thd->options & OPTION_SQL_NOTES))
|
||||
return(0);
|
||||
|
||||
if (thd->query_id != thd->warn_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue