Lines Matching refs:dbc
82 } else if (H->dbc) { in pdo_odbc_error()
84 eh = H->dbc; in pdo_odbc_error()
129 if (H->dbc != SQL_NULL_HANDLE) { in odbc_handle_closer()
130 SQLEndTran(SQL_HANDLE_DBC, H->dbc, SQL_ROLLBACK); in odbc_handle_closer()
131 SQLDisconnect(H->dbc); in odbc_handle_closer()
132 SQLFreeHandle(SQL_HANDLE_DBC, H->dbc); in odbc_handle_closer()
133 H->dbc = NULL; in odbc_handle_closer()
171 rc = SQLAllocHandle(SQL_HANDLE_STMT, H->dbc, &S->stmt); in odbc_handle_preparer()
229 rc = SQLAllocHandle(SQL_HANDLE_STMT, H->dbc, &stmt); in odbc_handle_doer()
277 …rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)SQL_AUTOCOMMIT_OFF, SQL_IS_INTEGER… in odbc_handle_begin()
291 rc = SQLEndTran(SQL_HANDLE_DBC, H->dbc, SQL_COMMIT); in odbc_handle_commit()
303 …rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)SQL_AUTOCOMMIT_ON, SQL_IS_INTEGER); in odbc_handle_commit()
317 rc = SQLEndTran(SQL_HANDLE_DBC, H->dbc, SQL_ROLLBACK); in odbc_handle_rollback()
326 if (dbh->auto_commit && H->dbc) { in odbc_handle_rollback()
328 …rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)SQL_AUTOCOMMIT_ON, SQL_IS_INTEGER); in odbc_handle_rollback()
419 rc = SQLAllocHandle(SQL_HANDLE_DBC, H->env, &H->dbc); in pdo_odbc_handle_factory()
425 rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, in pdo_odbc_handle_factory()
434 rc = SQLSetConnectAttr(H->dbc, SQL_ODBC_CURSORS, (void*)cursor_lib, SQL_IS_INTEGER); in pdo_odbc_handle_factory()
455 rc = SQLDriverConnect(H->dbc, NULL, (char*)dbh->data_source, strlen(dbh->data_source), in pdo_odbc_handle_factory()
459 …rc = SQLConnect(H->dbc, (char*)dbh->data_source, SQL_NTS, dbh->username, SQL_NTS, dbh->password, S… in pdo_odbc_handle_factory()