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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sql/sql_error.h b/sql/sql_error.h
index 79633ae5df8..f11ce6dcf0d 100644
--- a/sql/sql_error.h
+++ b/sql/sql_error.h
@@ -193,6 +193,10 @@ public:
MYSQL_ERROR::enum_warning_level get_level() const
{ return m_level; }
+ /** Destructor. */
+ ~MYSQL_ERROR()
+ {}
+
private:
/*
The interface of MYSQL_ERROR is mostly private, by design,
@@ -234,9 +238,7 @@ private:
*/
MYSQL_ERROR(MEM_ROOT *mem_root);
- /** Destructor. */
- ~MYSQL_ERROR()
- {}
+
/**
Copy optional condition items attributes.