return;
int ret = sqlite3_open_v2(m_db_path.c_str(), &m_db_handle, m_flags, VFS_NOT_USED);
- RUNNER_ASSERT_MSG_BT(m_db_handle, "Error opening the database: Unable to allocate memory.");
- RUNNER_ASSERT_MSG_BT(ret == SQLITE_OK, "Error opening the database: " <<
+ RUNNER_ASSERT_MSG(m_db_handle, "Error opening the database: Unable to allocate memory.");
+ RUNNER_ASSERT_MSG(ret == SQLITE_OK, "Error opening the database: " <<
sqlite3_errmsg(m_db_handle));
}
void Sqlite3DBase::close(void)
{
int ret = sqlite3_close(m_db_handle);
- RUNNER_ASSERT_MSG_BT(ret == SQLITE_OK, "Error closing the database: " <<
+ RUNNER_ASSERT_MSG(ret == SQLITE_OK, "Error closing the database: " <<
sqlite3_errmsg(m_db_handle));
m_db_handle = NULL;
}
sqlite3_free(tmp);
- RUNNER_ASSERT_MSG_BT(ret == SQLITE_OK || ret == SQLITE_ABORT, "Error executing statement <" <<
+ RUNNER_ASSERT_MSG(ret == SQLITE_OK || ret == SQLITE_ABORT, "Error executing statement <" <<
sql_query << "> : " << errmsg);
}