Home / Open source / Terimber 2.0
orclsrv.cpp File Reference#include "dborcl/orclsrv.h"
#include "base/vector.hpp"
#include "base/list.hpp"
#include "base/string.hpp"
#include "base/memory.hpp"
#include "base/common.hpp"
#include "base/numeric.h"
Go to the source code of this file.
Define Documentation
#define check_retcode |
( |
x, |
|
|
ehandle, |
|
|
type |
|
) |
|
Value: if (x != OCI_SUCCESS && x != OCI_NO_DATA) \
{ \
ub1_t err[256] = {0}; \
sword code = 0; \
OCIErrorGet(ehandle, 1, 0, &code, err, sizeof(err), type); \
throw exception(code, (const char*)err); \
}
Definition at line 48 of file orclsrv.cpp.
Referenced by orcl_dbserver::v_before_execute(), odbc_dbserver::v_before_execute(), mysql_dbserver::v_before_execute(), orcl_dbserver::v_bind_one_column(), odbc_dbserver::v_bind_one_column(), mysql_dbserver::v_bind_one_column(), odbc_dbserver::v_bind_one_param(), mysql_dbserver::v_bind_one_param(), orcl_dbserver::v_convert_one_value(), odbc_dbserver::v_convert_one_value(), orcl_dbserver::v_execute(), odbc_dbserver::v_execute(), mysql_dbserver::v_execute(), orcl_dbserver::v_fetch(), odbc_dbserver::v_fetch(), mysql_dbserver::v_fetch(), orcl_dbserver::v_get_number_columns(), odbc_dbserver::v_get_number_columns(), orcl_dbserver::v_get_one_column_info(), odbc_dbserver::v_get_one_column_info(), and orcl_dbserver::v_rebind_one_param().
#define check_retcode_db |
( |
x, |
|
|
ehandle, |
|
|
type |
|
) |
|
Value: if (x != OCI_SUCCESS) \
{ \
ub1_t err[256] = {0}; \
sword code; \
OCIErrorGet(ehandle, 1, 0, &code, err, sizeof(err), type); \
throw exception(code, (const char*)err); \
}
Definition at line 39 of file orclsrv.cpp.
Referenced by mysql_dbserver::v_before_execute(), orcl_dbserver::v_commit(), odbc_dbserver::v_commit(), mysql_dbserver::v_commit(), orcl_dbserver::v_connect(), odbc_dbserver::v_connect(), mysql_dbserver::v_connect(), orcl_dbserver::v_disconnect(), orcl_dbserver::v_rollback(), odbc_dbserver::v_rollback(), mysql_dbserver::v_rollback(), orcl_dbserver::v_start_transaction(), odbc_dbserver::v_start_transaction(), and mysql_dbserver::v_start_transaction().
Variable Documentation
|
|