Lines Matching refs:hstmt
364 stat = SQLAllocStmt(conn->hdbc,&res->hstmt); in PHP_FUNCTION()
370 stat = SQLExecDirect(res->hstmt,query,SQL_NTS); in PHP_FUNCTION()
373 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
378 stat = SQLNumResultCols(res->hstmt,&cols); in PHP_FUNCTION()
381 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
386 stat = SQLRowCount(res->hstmt,&rows); in PHP_FUNCTION()
389 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
393 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
400 SQLColAttributes(res->hstmt,i+1,SQL_COLUMN_NAME, in PHP_FUNCTION()
403 SQLColAttributes(res->hstmt,i+1,SQL_COLUMN_TYPE, in PHP_FUNCTION()
413 SQLColAttributes(res->hstmt,i+1,SQL_COLUMN_DISPLAY_SIZE, in PHP_FUNCTION()
416 SQLBindCol(res->hstmt,i+1,SQL_C_CHAR, res->values[i].value,coldesc+1, &res->values[i].vallen); in PHP_FUNCTION()
441 stat = SQLExtendedFetch(res->hstmt,SQL_FETCH_NEXT,1,&row,RowStat); in PHP_FUNCTION()
443 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
449 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
502 stat = SQLExtendedFetch(res->hstmt,SQL_FETCH_NEXT,1,&row,RowStat); in PHP_FUNCTION()
504 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
510 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
526 stat = SQLGetData(res->hstmt,indx+1,sql_c_type, in PHP_FUNCTION()
529 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
535 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()
565 SQLFreeStmt(res->hstmt,SQL_DROP); in PHP_FUNCTION()