MCPcopy Create free account
hub / github.com/SOCI/soci / alloc

Method alloc

src/backends/db2/statement.cpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void db2_statement_backend::alloc()
21{
22 SQLRETURN cliRC = SQL_SUCCESS;
23
24 cliRC = SQLAllocHandle(SQL_HANDLE_STMT,session_.hDbc,&hStmt);
25 if (cliRC != SQL_SUCCESS) {
26 throw db2_soci_error("Error while allocation statement handle",cliRC);
27 }
28}
29
30void db2_statement_backend::clean_up()
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected