Lines Matching refs:retvalue

1206 static int _mssql_fetch_batch(mssql_link *mssql_ptr, mssql_result *result, int retvalue TSRMLS_DC) 
1264 while (retvalue!=FAIL && retvalue!=NO_MORE_ROWS) {
1277 retvalue=dbnextrow(mssql_ptr->link);
1281 result->lastresult = retvalue;
1283 if (result->statement && (retvalue == NO_MORE_RESULTS || retvalue == NO_MORE_RPC_RESULTS)) {
1323 int query_len, retvalue, batchsize, num_fields; local
1352 if (dbsqlexec(mssql_ptr->link)==FAIL || (retvalue = dbresults(mssql_ptr->link))==FAIL) {
1359 while ((num_fields = dbnumcols(mssql_ptr->link)) <= 0 && retvalue == SUCCEED) {
1360 retvalue = dbresults(mssql_ptr->link);
1367 retvalue=dbnextrow(mssql_ptr->link);
1368 if (retvalue==FAIL) {
1386 result->num_rows = _mssql_fetch_batch(mssql_ptr, result, retvalue TSRMLS_CC);
1415 int retvalue; local
1429 retvalue = dbresults(result->mssql_ptr->link);
1430 } while (retvalue == SUCCEED);
1904 int retvalue; local
1915 retvalue = dbresults(mssql_ptr->link);
1917 while (dbnumcols(mssql_ptr->link) <= 0 && retvalue == SUCCEED) {
1918 retvalue = dbresults(mssql_ptr->link);
1921 if (retvalue == FAIL) {
1924 else if (retvalue == NO_MORE_RESULTS || retvalue == NO_MORE_RPC_RESULTS) {
1934 retvalue = dbnextrow(mssql_ptr->link);
1939 result->num_rows = _mssql_fetch_batch(mssql_ptr, result, retvalue TSRMLS_CC);
2125 int retvalue, retval_results; local
2179 retvalue = dbnextrow(mssql_ptr->link);
2191 result->num_rows = _mssql_fetch_batch(mssql_ptr, result, retvalue TSRMLS_CC);
2214 int retvalue; local
2228 retvalue = dbresults(statement->link->link);
2229 } while (retvalue == SUCCEED);