|
NCBI C++ ToolKit
|
Include dependency graph for stats.c:Go to the source code of this file.
Go to the repository for this file.
Macros | |
| #define | LEN(x) (x) ? (SQLSMALLINT) strlen(x) : 0 |
| #define | STR(n) str(int_buf, n) |
Functions | |
| static void | ReadCol (int i) |
| static void | TestProc (const char *catalog, const char *type, const char *expected) |
| static void | TestTable (const char *catalog, const char *type, const char *expected) |
| static const char * | str (char *buf, int n) |
| int | main (int argc, char *argv[]) |
Variables | |
| static char | software_version [] = "$Id: stats.c 102217 2024-04-09 15:01:41Z ucko $" |
| static void * | no_unused_var_warn [] = { software_version, no_unused_var_warn } |
| static SQLINTEGER | cnamesize |
| static char | output [256] |
| static const char * | proc = "stat_proc" |
| static const char * | table = "stat_proc" |
| static const char * | column = "@t" |
| #define LEN | ( | x | ) | (x) ? (SQLSMALLINT) strlen(x) : 0 |
Definition at line 98 of file stats.c.
References NULL, odbc_connect(), odbc_database, odbc_disconnect(), odbc_use_version3, SQL_TIMESTAMP, SQL_TYPE_TIMESTAMP, STR, TestProc(), and TestTable().
Definition at line 12 of file stats.c.
References CHKGetData, cnamesize, i, output, and SQL_C_CHAR.
Referenced by TestProc(), and TestTable().
Definition at line 26 of file stats.c.
References catalog, CHKCloseCursor, CHKFetch, CHKProcedureColumns, column, exit(), expected, LEN, NULL, odbc_command, odbc_disconnect(), ODBC_FREE, output, proc, ReadCol(), schema, sql, util::strcmp(), and T.
Referenced by main().
Definition at line 53 of file stats.c.
References catalog, CHKCloseCursor, CHKColumns, CHKFetch, column, exit(), expected, LEN, NULL, odbc_command, odbc_disconnect(), ODBC_FREE, output, ReadCol(), schema, sql, util::strcmp(), T, and table.
Referenced by main().
|
static |
|
static |
Definition at line 21 of file stats.c.
Referenced by TestProc(), and TestTable().
|
static |
|
static |
Definition at line 9 of file stats.c.
Referenced by ReadCol(), TestProc(), and TestTable().
|
static |
Definition at line 19 of file stats.c.
Referenced by TestProc().
|
static |
|
static |
Definition at line 20 of file stats.c.
Referenced by TestTable().