Skip to content

Commit

Permalink
Add support for reporting warnings and information messages
Browse files Browse the repository at this point in the history
Reporting warnings can be enabled/disabled via standard DBI attribute
PrintWarn. Both warnings and information messages can be retrieved via
standard DBI methods ->err, ->errstr and ->state. Information messages are
collected from MySQL "Note" messages and mysql_info() message.

This change fixes also reporting mariadb_warning_count attribute for multi
result statements.
  • Loading branch information
pali committed Sep 27, 2023
1 parent 8092bfc commit efa696d
Show file tree
Hide file tree
Showing 7 changed files with 583 additions and 46 deletions.
Loading

0 comments on commit efa696d

Please sign in to comment.