diff options
author | unknown <lars@mysql.com> | 2005-02-22 12:40:31 +0100 |
---|---|---|
committer | unknown <lars@mysql.com> | 2005-02-22 12:40:31 +0100 |
commit | 7d766fdbeb1418488f99125b510dce5942b7f79f (patch) | |
tree | f1db7e330a68bd562428df26c07737fa471275ba /sql/sql_error.cc | |
parent | edaf33a14e922571e8e80910bba6693b72e2db83 (diff) | |
download | mariadb-git-7d766fdbeb1418488f99125b510dce5942b7f79f.tar.gz |
BUG#6662: Changes after Guilhems and Sergs review
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r-- | sql/sql_error.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc index e04c2843c93..d19e9fbdb09 100644 --- a/sql/sql_error.cc +++ b/sql/sql_error.cc @@ -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) |