NCBI C++ ToolKit
|
#include "common.h"
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | BYTE_AT(n) (((n) * 245 + 123) & 0xff) |
Functions | |
static int | to_sqlwchar (SQLWCHAR *dst, const char *src, int n) |
int | main (int argc, char *argv[]) |
Variables | |
static const char | test_text [] |
static char | sql [1024] |
Definition at line 22 of file putdata.c.
References buf, BYTE_AT, CHKBindParameter, CHKExecute, CHKFreeStmt, CHKParamData, CHKPrepare, CHKPutData, i, int, l(), lc, len, n, odbc_check_no_row(), odbc_command, odbc_connect(), odbc_db_is_microsoft(), odbc_db_version_int(), odbc_disconnect(), ODBC_REPORT_ERROR, odbc_reset_statement, odbc_stmt, pb, sql, SQL_C_BINARY, SQL_C_CHAR, SQL_C_WCHAR, SQL_DATA_AT_EXEC, SQL_LEN_DATA_AT_EXEC, SQL_LONGVARBINARY, SQL_LONGVARCHAR, SQL_NEED_DATA, SQL_NTS, SQL_PARAM_INPUT, SQL_RESET_PARAMS, SQL_WLONGVARCHAR, SQLLEN, SQLParamData(), strcat, T, test_text, to_sqlwchar(), and type.
|
static |
Definition at line 19 of file putdata.c.
Referenced by add_couple(), BOOST_AUTO_TEST_CASE(), CCursor::CCursor(), check_dbname(), CDbapiSampleApp::CreateConnection(), IConnection::CreateCursor(), CConnection::CreateCursor(), CNCDBIndexFile::CreateDatabase(), CDbapiCursorApp::CreateTable(), CSQLITE_Connection::CreateVacuumStmt(), CSQLITE3_Statement::CSQLITE3_Statement(), CSQLITE_Statement::CSQLITE_Statement(), CBlobStoreBase::Delete(), CNCDBIndexFile::DeleteAllDBFiles(), CNCDBIndexFile::DeleteDBFile(), CDbapiSampleApp::DeleteLostTables(), CDbapiSampleApp::DeleteTable(), CDbapiSimpleApp::DemoDynamicSql(), CSdbapiSimpleApp::DemoDynamicSql(), CDbapiSimpleApp::DemoParamerizedSql(), CSdbapiSimpleApp::DemoParamerizedSql(), CDbapiSimpleApp::DemoSqlInjection(), CSdbapiSimpleApp::DemoSqlInjection(), CDbapiSimpleApp::DemoStaticSql(), CSdbapiSimpleApp::DemoStaticSql(), CStatement::Execute(), execute_sql(), CStatement::ExecuteQuery(), ExecuteSQL(), CSQLITE_Connection::ExecuteSql(), CStatement::ExecuteUpdate(), CBlobStoreBase::Exists(), FetchCanonicalSeqId(), get_coll_md5(), get_encoding_coll(), CSQLITE3_Cache::GetAccessTime(), CNCDBIndexFile::GetAllDBFiles(), CSQLITE3_Cache::GetBlobAccess(), IConnection::GetCursor(), CConnection::GetCursor(), CNCDBIndexFile::GetMaxSyncLogRecNo(), CNCDBIndexFile::GetPurgeData(), CSQLITE3_Cache::GetReadStream(), CSQLITE3_Cache::GetSize(), Init(), impl::CRowInfo_SP_SQL_Server::Initialize(), main(), CNCDBIndexFile::NewDBFile(), CDatabase::NewQuery(), odbc_set_stmt_query(), CCassConnection::Prepare(), ProduceCassandraQueryErrorMessage(), CSQLITE3_Cache::Purge(), query(), CSQLITE3_Cache::Read(), CBlobStoreBase::ReadTableDescr(), CSQLITE3_Cache::Remove(), CDbapiTest::Run(), CSdbapiTest::Run(), CMysqlDemoApp::Run(), CDbCopyApp::Run(), run_command(), CStatement::SendSql(), impl::CConnection::SetDatabaseName(), CNCDBIndexFile::SetMaxSyncLogRecNo(), CCassQuery::SetSQL(), CSQLITE_Statement::SetSql(), CQuery::SetSql(), CQueryImpl::SetSql(), SQLGetTypeInfo(), CSQLITE3_Cache::StoreSynchronous(), Test(), test0(), Test2(), test_err(), test_split(), test_with_dbname(), TestInsert(), TestProc(), TestTable(), CNCDBIndexFile::UpdatePurgeData(), CCassAccVerHistoryTaskFetch::Wait1(), CCassBlobTaskFetchSplitHistory::Wait1(), CCassBlobTaskLoadBlob::Wait1(), CCassNAnnotTaskFetch::Wait1(), CCassStatusHistoryTaskFetch::Wait1(), CCassStatusHistoryTaskGetPublicComment::Wait1(), CSQLITE_Blob::Write(), CLocalTaxon::x_Cache(), CSQLITE_Connection::x_ExecuteSql(), CCassBlobTaskLoadBlob::x_FindID2ChunkID_Query(), CLDS2_Database::x_GetStatement(), CCassBioseqInfoTaskFetch::x_InitializeAliveRecordQuery(), CCassBioseqInfoTaskFetch::x_InitializeQuery(), CCassSI2CSITaskFetch::x_InitializeQuery(), CCassBlobTaskFindChunk::x_IsID2ChunkPacked_Query(), CCassBlobTaskLoadBlob::x_IsID2ChunkPacked_Query(), CTL_Connection::x_LoadTextPtrProcs(), CSQLITE_Statement::x_Prepare(), CStatement::x_Send(), and CSQLITE3_Cache::x_SetTimestamp().