diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 17:56:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 17:56:53 +0200 |
commit | 4acabe57939ff37bad0a8aabc5164b6d5add449b (patch) | |
tree | 1211cf34b447014671effc59770f06f1cc0e3bb8 /odb/mysql/exceptions.hxx | |
parent | a534bbdabe677b67687c9d0093cba4a800b6b766 (diff) |
Factor out MySQL error to exception translation into separate function
Diffstat (limited to 'odb/mysql/exceptions.hxx')
-rw-r--r-- | odb/mysql/exceptions.hxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/odb/mysql/exceptions.hxx b/odb/mysql/exceptions.hxx index 12af4c4..f0c17e4 100644 --- a/odb/mysql/exceptions.hxx +++ b/odb/mysql/exceptions.hxx @@ -12,7 +12,6 @@ #include <odb/exceptions.hxx> -#include <odb/mysql/mysql.hxx> #include <odb/mysql/version.hxx> #include <odb/mysql/details/export.hxx> @@ -23,8 +22,6 @@ namespace odb { struct LIBODB_MYSQL_EXPORT database_exception: odb::database_exception { - database_exception (MYSQL*); - database_exception (MYSQL_STMT*); database_exception (unsigned int, const std::string& sqlstate, const std::string& message); @@ -53,10 +50,6 @@ namespace odb what () const throw (); private: - void - init (); - - private: unsigned int error_; std::string sqlstate_; std::string message_; |