summaryrefslogtreecommitdiff
path: root/sql/sql_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_error.h')
-rw-r--r--sql/sql_error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_error.h b/sql/sql_error.h
index c0f28c20286..8495a8cfa57 100644
--- a/sql/sql_error.h
+++ b/sql/sql_error.h
@@ -101,7 +101,7 @@ public:
void increment_warning()
{
if (m_status != DA_EMPTY)
- m_total_warn_count++;
+ m_statement_warn_count++;
}
Diagnostics_area() { reset_diagnostics_area(); }