Bug #39059 push_warning_printf: Warnings are raised as errors
Submitted: 26 Aug 2008 22:15 Modified: 11 Sep 2008 19:30
Reporter: Marc ALFF Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Marc ALFF CPU Architecture:Any

[26 Aug 2008 22:15] Marc ALFF
This is a follow up on bug#36777.

Even after the fix for 36777, the server code still contains improper calls
to push_warning:

see file sql/backup/logger.cc, method Logger::write_message():

     push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,

see file sql/sql_table.cc, function mysql_create_table_no_lock():

    push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_ERROR,

How to repeat:
Code review

Suggested fix:
     push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
[27 Aug 2008 15:49] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:


2807 Marc Alff	2008-08-27
      Bug#39059 (push_warning_printf: Warnings are raised as errors)
      Fixed the calls to push_warning_printf() to not report WARN_LEVEL_ERROR
[11 Sep 2008 19:30] Paul DuBois
Noted in 6.0.8 changelog.

Some warnings were being reported as errors.
[14 Sep 2008 0:45] Bugs System
Pushed into 6.0.7-alpha  (revid:marc.alff@sun.com-20080827154832-xa4mijbjxxdcxhpj) (version source revid:vvaintroub@mysql.com-20080804094710-jb2qpqxpf2ir2gf3) (pib:3)