summaryrefslogtreecommitdiff
path: root/sql/sql_error.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-08-30 11:36:24 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2012-08-30 11:36:24 +0200
commitae325ec6ce3998b3dd38fc2ad7763857cd4c140f (patch)
tree957911b8185c51f0ad2caf43f2124552bca6db9f /sql/sql_error.h
parentd99b8004e6b46e2a1b321bf50825254bf841cddb (diff)
downloadmariadb-git-ae325ec6ce3998b3dd38fc2ad7763857cd4c140f.tar.gz
Compile 10.0 on Windows
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.