NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | Record |
Macros | |
#define | ARRAY_SIZE 10 |
#define | REC(f, n) (((char*)f)+rec_size*(n)) |
#define | DESCS(n) (rec ? (SQLCHAR*)REC(descs,n): (descs+(n)*desc_len)) |
#define | IDS(n) *(rec ? (SQLUINTEGER*)REC(ids,n) : &ids[n]) |
#define | ID_LENS(n) *(rec ? (SQLLEN*)REC(id_lens,n) : &id_lens[n]) |
#define | DESC_LENS(n) *(rec ? (SQLLEN*)REC(desc_lens,n) : &desc_lens[n]) |
Functions | |
static void | query_test (const char *expected, const char *expected_status) |
int | main (int argc, char *argv[]) |
Variables | |
static const char * | test_query = NULL |
static int | trunc = 0 |
static int | record_bind = 0 |
#define ARRAY_SIZE 10 |
#define IDS | ( | n | ) | *(rec ? (SQLUINTEGER*)REC(ids,n) : &ids[n]) |
Definition at line 125 of file array_out.c.
References buf, i, odbc_command, odbc_connect(), odbc_disconnect(), odbc_reset_statement, odbc_use_version3, query_test(), record_bind, test_query, and trunc.
Definition at line 19 of file array_out.c.
References ARRAY_SIZE, assert, buf, CHKExecDirect, CHKFetch, Record::desc_len, DESC_LENS, DESCS, exit(), expected, i, Record::id, Record::id_len, ID_LENS, IDS, int2ptr, NULL, ODBC_FREE, ODBC_GET, odbc_reset_statement, odbc_stmt, record_bind, SQL_ATTR_ROW_ARRAY_SIZE, SQL_ATTR_ROW_BIND_TYPE, SQL_ATTR_ROW_STATUS_PTR, SQL_ATTR_ROWS_FETCHED_PTR, SQL_BIND_BY_COLUMN, SQL_C_CHAR, SQL_C_ULONG, SQL_NTS, SQL_NULL_HSTMT, SQL_ROW_ERROR, SQL_ROW_NOROW, SQL_ROW_SUCCESS, SQL_ROW_SUCCESS_WITH_INFO, SQL_ROW_UPDATED, SQLBindCol(), SQLLEN, SQLSetStmtAttr(), SQLULEN, util::strcmp(), T, test_query, and trunc.
Referenced by main().
|
static |
Definition at line 9 of file array_out.c.
Referenced by main(), and query_test().
Definition at line 7 of file array_out.c.
Referenced by main(), and query_test().
|
static |
Definition at line 8 of file array_out.c.
Referenced by CMsvcPrjFilesCollector::CollectSources(), CProjBulderApp::CreateCheckList(), CreateConfigurableFile(), CProjBulderApp::CreateFeaturesAndPackagesFiles(), CDirEntry::CreateTmpFile(), CBDB_FileDumper::Dump(), CProjBulderApp::DumpFiles(), CDbapiTestSpeedApp::FetchFile(), CCodeGenerator::GenerateCvsignore(), CProjBulderApp::GenerateUnixProjects(), CGlTextureFont::GetTextXform(), iosbase2BDB(), CArg_Ios::IosMode(), main(), CGlInfoDemoPanel::OnButtonSave(), CLZOCompressionFile::Open(), CBDB_ExtBlobStore< TBV >::Open(), CBDB_CacheIWriter::OpenOverflowFile(), CMakefilePatch::PatchTreeMakefiles(), query_test(), CPIDGuard::Release(), CProjBulderApp::ReportGeneratedFiles(), CProjBulderApp::ReportProjectWatchers(), s_CreateThirdPartyLibsInstallMakefile(), s_ReportPid(), CSimpleMakeFileContents::Save(), CGlBitmapFont::TextOut(), CGlTextureFont::TextOut(), CGlBitmapFont::Truncate(), CGlTextureFont::Truncate(), TruncateText(), TruncTextLength(), CPIDGuard::UpdatePID(), CMsvcConfigure::WriteBuildVer(), CMsvcConfigure::WriteExtraDefines(), CMsvcConfigure::WriteNcbiconfMsvcSite(), CGlRenderDebug::WriteText(), CRenderCommon::WriteText(), CGlRenderPdf::WriteText(), CSVGRenderer::WriteText(), CGlTextureFont::WriteText(), CDownloadJob::x_Download(), CTar::x_ExtractPlainFile(), CTar::x_Open(), CWorkbenchFrame::x_ShowPagerMessage(), CBDB_Cache::x_Store(), CGlBitmapFont::x_Truncate(), CGlTextureFont::x_Truncate(), CGlTextureFont::x_Truncate2(), CMacroWordSubstitutionDlg::x_UpdateSynonymFile(), and CGlTextureFont::x_WriteText().