Lines Matching refs:stat
291 RETCODE stat; in PHP_FUNCTION() local
305 stat = SQLAllocConnect(henv,&hdbc); in PHP_FUNCTION()
306 if ( stat != SQL_SUCCESS ) { in PHP_FUNCTION()
310 stat = SQLConnect(hdbc, serv, SQL_NTS, user, SQL_NTS, pass, SQL_NTS); in PHP_FUNCTION()
311 if ( stat != SQL_SUCCESS && stat != SQL_SUCCESS_WITH_INFO ) { in PHP_FUNCTION()
353 RETCODE stat; in PHP_FUNCTION() local
364 stat = SQLAllocStmt(conn->hdbc,&res->hstmt); in PHP_FUNCTION()
365 if ( stat != SQL_SUCCESS && stat != SQL_SUCCESS_WITH_INFO ) { in PHP_FUNCTION()
366 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Birdstep: SQLAllocStmt return %d",stat); in PHP_FUNCTION()
370 stat = SQLExecDirect(res->hstmt,query,SQL_NTS); in PHP_FUNCTION()
371 if ( stat != SQL_SUCCESS && stat != SQL_SUCCESS_WITH_INFO ) { in PHP_FUNCTION()
378 stat = SQLNumResultCols(res->hstmt,&cols); in PHP_FUNCTION()
379 if ( stat != SQL_SUCCESS ) { in PHP_FUNCTION()
380 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Birdstep: SQLNumResultCols return %d",stat); in PHP_FUNCTION()
386 stat = SQLRowCount(res->hstmt,&rows); in PHP_FUNCTION()
387 if ( stat != SQL_SUCCESS ) { in PHP_FUNCTION()
388 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Birdstep: SQLNumResultCols return %d",stat); in PHP_FUNCTION()
431 RETCODE stat; in PHP_FUNCTION() local
441 stat = SQLExtendedFetch(res->hstmt,SQL_FETCH_NEXT,1,&row,RowStat); in PHP_FUNCTION()
442 if ( stat == SQL_NO_DATA_FOUND ) { in PHP_FUNCTION()
447 if ( stat != SQL_SUCCESS && stat != SQL_SUCCESS_WITH_INFO ) { in PHP_FUNCTION()
465 RETCODE stat; in PHP_FUNCTION() local
502 stat = SQLExtendedFetch(res->hstmt,SQL_FETCH_NEXT,1,&row,RowStat); in PHP_FUNCTION()
503 if ( stat == SQL_NO_DATA_FOUND ) { in PHP_FUNCTION()
508 if ( stat != SQL_SUCCESS && stat != SQL_SUCCESS_WITH_INFO ) { in PHP_FUNCTION()
526 stat = SQLGetData(res->hstmt,indx+1,sql_c_type, in PHP_FUNCTION()
528 if ( stat == SQL_NO_DATA_FOUND ) { in PHP_FUNCTION()
533 if ( stat != SQL_SUCCESS && stat != SQL_SUCCESS_WITH_INFO ) { in PHP_FUNCTION()
576 RETCODE stat; in PHP_FUNCTION() local
585 stat = SQLSetConnectOption(conn->hdbc,SQL_AUTOCOMMIT,SQL_AUTOCOMMIT_ON); in PHP_FUNCTION()
586 if ( stat != SQL_SUCCESS && stat != SQL_SUCCESS_WITH_INFO ) { in PHP_FUNCTION()
599 RETCODE stat; in PHP_FUNCTION() local
608 stat = SQLSetConnectOption(conn->hdbc,SQL_AUTOCOMMIT,SQL_AUTOCOMMIT_OFF); in PHP_FUNCTION()
609 if ( stat != SQL_SUCCESS && stat != SQL_SUCCESS_WITH_INFO ) { in PHP_FUNCTION()
622 RETCODE stat; in PHP_FUNCTION() local
631 stat = SQLTransact(NULL,conn->hdbc,SQL_COMMIT); in PHP_FUNCTION()
632 if ( stat != SQL_SUCCESS ) { in PHP_FUNCTION()
645 RETCODE stat; in PHP_FUNCTION() local
654 stat = SQLTransact(NULL,conn->hdbc,SQL_ROLLBACK); in PHP_FUNCTION()
655 if ( stat != SQL_SUCCESS ) { in PHP_FUNCTION()