mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-01 19:17:59 +00:00
removed redundant SQLSetStmtAttr
This commit is contained in:
@@ -57,12 +57,6 @@ ODBCStatementImpl::ODBCStatementImpl(SessionImpl& rSession):
|
|||||||
_stepCalled(false),
|
_stepCalled(false),
|
||||||
_nextResponse(0)
|
_nextResponse(0)
|
||||||
{
|
{
|
||||||
checkError(SQLSetStmtAttr(_stmt,
|
|
||||||
SQL_CURSOR_TYPE,
|
|
||||||
(SQLPOINTER) SQL_CURSOR_FORWARD_ONLY,
|
|
||||||
0),
|
|
||||||
"SQLSetStmtAttr(SQL_CURSOR_TYPE, SQL_CURSOR_FORWARD_ONLY)");
|
|
||||||
|
|
||||||
if (session().getFeature("autoBind"))
|
if (session().getFeature("autoBind"))
|
||||||
{
|
{
|
||||||
SQLSetStmtAttr(_stmt,
|
SQLSetStmtAttr(_stmt,
|
||||||
|
|||||||
Reference in New Issue
Block a user