NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | row(bind, expected) test_row(bind, #bind, expected, __LINE__) |
Functions | |
static void | test_row (int vartype, const char *vartype_name, const char *expected, int line) |
int | main (int argc, char **argv) |
Variables | |
static DBPROCESS * | dbproc = NULL |
static int | bind_len = -1 |
static int | expected_error = 0 |
static const char * | select_cmd = "select 'foo '" |
Definition at line 73 of file string_bind.c.
Definition at line 76 of file string_bind.c.
References bind_len, CHARBIND, dbclose(), dberrhandle(), dbexit(), dbinit(), dblogin(), dbloginfree(), dbmsghandle(), dbopen, dbproc, DBSETLAPP, DBSETLPWD, DBSETLUSER, dbsetuserdata(), expected_error, login, NTBSTRINGBIND, PASSWORD, read_login_info(), row, select_cmd, SERVER, set_malloc_options(), STRINGBIND, syb_err_handler(), syb_msg_handler(), SYBECOFL, and USER.
|
static |
Definition at line 16 of file string_bind.c.
References assert, bind_len, CHARBIND, dbbind(), dbcmd(), dbnextrow, dbproc, dbresults(), dbsqlexec(), exit(), expected, expected_error, i, NO_MORE_ROWS, REG_ROW, select_cmd, str(), util::strcmp(), and SUCCEED.
|
static |
Definition at line 11 of file string_bind.c.
Referenced by CTL_RowResult::CTL_RowResult(), main(), and test_row().
Definition at line 10 of file string_bind.c.
Referenced by main(), and test_row().
|
static |
Definition at line 12 of file string_bind.c.
Referenced by err_handler(), main(), and test_row().
|
static |
Definition at line 13 of file string_bind.c.
Referenced by main(), and test_row().