Commit c43a6666 authored by Marko Mäkelä's avatar Marko Mäkelä

Revert "Fix result of merge."

This reverts commit e0793d38.

In idiomatic C++, accessor functions should not discard qualifiers.
parent 90d1e58e
...@@ -3408,7 +3408,11 @@ class THD :public Statement, ...@@ -3408,7 +3408,11 @@ class THD :public Statement,
inline bool is_error() const { return m_stmt_da->is_error(); } inline bool is_error() const { return m_stmt_da->is_error(); }
/// Returns Diagnostics-area for the current statement. /// Returns Diagnostics-area for the current statement.
Diagnostics_area *get_stmt_da() const Diagnostics_area *get_stmt_da()
{ return m_stmt_da; }
/// Returns Diagnostics-area for the current statement.
const Diagnostics_area *get_stmt_da() const
{ return m_stmt_da; } { return m_stmt_da; }
/// Sets Diagnostics-area for the current statement. /// Sets Diagnostics-area for the current statement.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment