*
*/
void dbms::mysql::Statement::prepare(dbms::Connection* dbmsConnection)
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
LOGMETHOD(TraceMethod tm("anna::dbms::mysql::Statement", "prepare", ANNA_FILE_LOCATION));
Connection* connection(static_cast <Connection*>(dbmsConnection));
- Database& dbms(static_cast <Database&>(connection->getDatabase()));
+ //Database& dbms(static_cast <Database&>(connection->getDatabase()));
LOGDEBUG(
string msg("anna::dbms::mysql::Statement::prepare | ");
msg += asString();
}
dbms::ResultCode dbms::mysql::Statement::execute(dbms::Connection* dbmsConnection)
-throw(RuntimeException, dbms::DatabaseException) {
- Connection* connection(static_cast <Connection*>(dbmsConnection));
+noexcept(false) {
+ //Connection* connection(static_cast <Connection*>(dbmsConnection));
for(input_iterator ii = input_begin(), maxii = input_end(); ii != maxii; ii ++) {
inputBind(ii)->code();
* Según la información de http://dev.mysql.com/doc/refman/4.1/en/mysql-stmt-fetch.html
*/
bool dbms::mysql::Statement::fetch()
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
bool result = false;
switch(mysql_stmt_fetch(a_mysqlStmt)) {
}
st_mysql_bind* dbms::mysql::Statement::create(const int size, const char* whatis)
-throw(RuntimeException) {
+noexcept(false) {
st_mysql_bind* result = NULL;
if(size > 0) {