diff --git a/include/transport/mysqlbackend.h b/include/transport/mysqlbackend.h index 04c00b7a6e0d4ef55bfb0129d32a10f7522a6856..b35a345d224f4dd53205e749eac20a968e299faa 100644 --- a/include/transport/mysqlbackend.h +++ b/include/transport/mysqlbackend.h @@ -48,6 +48,7 @@ class MySQLBackend : public StorageBackend /// automatically. /// \return true if database is opened successfully. bool connect(); + void disconnect(); /// Creates database structure. /// \see connect() @@ -100,7 +101,7 @@ class MySQLBackend : public StorageBackend Statement(MYSQL *conn, const std::string &format, const std::string &statement); ~Statement(); - bool execute(); + int execute(); int fetch();