Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

odbcsrv.cpp File Reference

#include "dbodbc/odbcsrv.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.

Defines

#define check_retcode_db(x)   if (x != SQL_SUCCESS) odbc_dbserver::get_odbc_error(x, _henv, _hdbc, 0);
#define check_retcode(x)   if (x != SQL_SUCCESS) odbc_dbserver::get_odbc_error(x, _henv, _hdbc, _hstmt);
#define SQLLEN   SQLINTEGER
#define SQLULEN   SQLUINTEGER

Variables

static const size_t MAX_CONNECT_LEN = 2048
static const char * valid_delimeters = " ,)}"
static const size_t MAX_FNAME_LEN = 256


Define Documentation

#define check_retcode (  )     if (x != SQL_SUCCESS) odbc_dbserver::get_odbc_error(x, _henv, _hdbc, _hstmt);

Definition at line 41 of file odbcsrv.cpp.

#define check_retcode_db (  )     if (x != SQL_SUCCESS) odbc_dbserver::get_odbc_error(x, _henv, _hdbc, 0);

Definition at line 38 of file odbcsrv.cpp.

#define SQLULEN   SQLUINTEGER

Definition at line 50 of file odbcsrv.cpp.

Referenced by odbc_dbserver::v_get_one_column_info().


Variable Documentation

const size_t MAX_CONNECT_LEN = 2048 [static]

Definition at line 53 of file odbcsrv.cpp.

Referenced by odbc_dbserver::v_connect().

const size_t MAX_FNAME_LEN = 256 [static]

Definition at line 55 of file odbcsrv.cpp.

Referenced by odbc_dbserver::v_get_one_column_info().

const char* valid_delimeters = " ,)}" [static]

Definition at line 54 of file odbcsrv.cpp.



© Copyright Terimber 2003-.