NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <dbapi/driver/public.hpp>
#include <dbapi/driver/impl/dbapi_impl_result.hpp>
#include <dbapi/driver/impl/dbapi_impl_cmd.hpp>
#include <dbapi/driver/impl/dbapi_impl_connection.hpp>
#include <dbapi/error_codes.hpp>
#include <winsock2.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | NCBI_USE_ERRCODE_X Dbapi_DataServer |
#define | TRACE_PARAMS(params) s_TraceParams(params, DIAG_COMPILE_INFO) |
#define | CHECK_CONNECTION(conn) CHECK_DRIVER_WARNING( !conn, "Connection has been closed", 200002 ) |
#define | CHECK_RESULT(res) CHECK_DRIVER_WARNING( !res, "This result is not available anymore", 200003 ) |
#define | CHECK_COMMAND(cmd) CHECK_DRIVER_WARNING( !cmd, "This command cannot be used anymore", 200005 ) |
Functions | |
static void | s_TraceParams (const CDBParams ¶ms, const CDiagCompileInfo &info) |
unsigned int | ConvertI2UI (int value) |
#define CHECK_COMMAND | ( | cmd | ) | CHECK_DRIVER_WARNING( !cmd, "This command cannot be used anymore", 200005 ) |
Definition at line 728 of file public.cpp.
#define CHECK_CONNECTION | ( | conn | ) | CHECK_DRIVER_WARNING( !conn, "Connection has been closed", 200002 ) |
Definition at line 352 of file public.cpp.
#define CHECK_RESULT | ( | res | ) | CHECK_DRIVER_WARNING( !res, "This result is not available anymore", 200003 ) |
Definition at line 605 of file public.cpp.
#define NCBI_USE_ERRCODE_X Dbapi_DataServer |
Definition at line 47 of file public.cpp.
#define TRACE_PARAMS | ( | params | ) | s_TraceParams(params, DIAG_COMPILE_INFO) |
Definition at line 76 of file public.cpp.
Definition at line 87 of file public.cpp.
References CHECK_DRIVER_ERROR, and rapidjson::value.
|
static |
Definition at line 55 of file public.cpp.
References eDiag_Trace, CDB_Object::GetLogString(), CDBParams::GetName(), CDBParams::GetNum(), CNcbiDiag::GetRef(), CDBParams::GetValue(), i, info, n, string, and rapidjson::value.