mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
MDEV-13861 Assertion `0' failed in Protocol::end_statement
followup for 378beed0a6 - only count WARN_LEVEL_ERROR,
not warnings or notes.
This commit is contained in:
@@ -1483,7 +1483,8 @@ public:
|
||||
const char* msg,
|
||||
Sql_condition ** cond_hdl)
|
||||
{
|
||||
errors++;
|
||||
if (level == Sql_condition::WARN_LEVEL_ERROR)
|
||||
errors++;
|
||||
return false;
|
||||
}
|
||||
Counting_error_handler() : errors(0) {}
|
||||
|
||||
Reference in New Issue
Block a user