}
void mysql::Connection::open()
-throw(dbms::DatabaseException) {
+noexcept(false) {
if(a_mysql != NULL) {
LOGWARNING(
string msg = asString();
}
void mysql::Connection::close()
-throw() {
+{
LOGINFORMATION(
string msg("anna::dbms::mysql::Connection::close | ");
msg += asString();
}
void mysql::Connection::do_commit()
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
anna_dbms_mysql_check(mysql_commit(a_mysql), a_mysql);
}
void mysql::Connection::do_rollback()
-throw() {
+{
try {
anna_dbms_mysql_check(mysql_rollback(a_mysql), a_mysql);
} catch(Exception& ex) {
}
string mysql::Connection::asString() const
-throw() {
+{
string result("dbms::mysql::Connection { ");
result += dbms::Connection::asString();
result += " | Context: ";