Home
last modified time | relevance | path

Searched refs:row_count (Results 1 – 16 of 16) sorted by relevance

/php-src/ext/mysqlnd/
H A Dmysqlnd_result.c468 set->row_count++; in MYSQLND_METHOD()
559 if (set->current_row < set->row_count) { in MYSQLND_METHOD()
590 if (set->current_row == set->row_count) { in MYSQLND_METHOD()
591 set->current_row = set->row_count + 1; in MYSQLND_METHOD()
681 set->row_count++; in MYSQLND_METHOD()
690 set->row_count); in MYSQLND_METHOD()
731 (uint32_t) set->row_count, in MYSQLND_METHOD()
852 if (row >= result->row_count) { in MYSQLND_METHOD()
853 result->current_row = result->row_count; in MYSQLND_METHOD()
867 return result->eof_reached? result->row_count : 0; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_ps.c124 UPSERT_STATUS_SET_AFFECTED_ROWS(stmt->upsert_status, stmt->result->stored_data->row_count); in MYSQLND_METHOD()
190 UPSERT_STATUS_SET_AFFECTED_ROWS(stmt->upsert_status, result->stored_data->row_count); in MYSQLND_METHOD()
820 result->unbuf->row_count++; in mysqlnd_fetch_stmt_row_cursor()
H A Dmysqlnd_structs.h1166 uint64_t row_count; member
1191 uint64_t row_count; member
/php-src/ext/mysqli/tests/
H A Dmysqli_allow_local_infile_overrides_local_infile_directory.phpt48 $row_count = $row['num'];
50 if ($row_count != $expected_row_count) {
51 printf("[005] %d != %d\n", $row_count, $expected_row_count);
H A Dmysqli_local_infile_directory_access_allowed.phpt53 $row_count = $row['num'];
55 if ($row_count != $expected_row_count) {
56 printf("[006] %d != %d\n", $row_count, $expected_row_count);
/php-src/ext/pdo_mysql/
H A Dmysql_statement.c122 zend_long row_count = (zend_long) mysql_stmt_affected_rows(S->stmt); in pdo_mysql_stmt_set_row_count() local
123 if (row_count != (zend_long)-1) { in pdo_mysql_stmt_set_row_count()
124 stmt->row_count = row_count; in pdo_mysql_stmt_set_row_count()
133 my_ulonglong row_count; in pdo_mysql_fill_stmt_from_result() local
136 row_count = mysql_affected_rows(H->server); in pdo_mysql_fill_stmt_from_result()
137 if (row_count == (my_ulonglong)-1) { in pdo_mysql_fill_stmt_from_result()
150 stmt->row_count = (zend_long) mysql_num_rows(S->result); in pdo_mysql_fill_stmt_from_result()
155 stmt->row_count = (zend_long) row_count; in pdo_mysql_fill_stmt_from_result()
/php-src/ext/pdo_odbc/
H A Dodbc_driver.c221 SQLLEN row_count = -1; in odbc_handle_doer() local
236 row_count = 0; in odbc_handle_doer()
245 rc = SQLRowCount(stmt, &row_count); in odbc_handle_doer()
250 if (row_count == -1) { in odbc_handle_doer()
251 row_count = 0; in odbc_handle_doer()
255 return row_count; in odbc_handle_doer()
H A Dodbc_stmt.c161 SQLLEN row_count = -1; in odbc_stmt_execute() local
267 SQLRowCount(S->stmt, &row_count); in odbc_stmt_execute()
268 stmt->row_count = row_count; in odbc_stmt_execute()
/php-src/ext/sqlite3/
H A Dphp_sqlite3_structs.h86 zend_long row_count; member
H A Dsqlite3.c771 ZVAL_LONG(&zargs[1], agg_context->row_count); in sqlite3_do_callback()
883 agg_context->row_count++; in php_sqlite3_callback_step()
894 agg_context->row_count = 0; in php_sqlite3_callback_final()
/php-src/ext/pdo_pgsql/
H A Dpgsql_statement.c353 stmt->row_count = ZEND_ATOL(PQcmdTuples(S->result)); in pgsql_stmt_execute()
356 stmt->row_count = (zend_long)PQntuples(S->result); in pgsql_stmt_execute()
564 if (S->is_running_unbuffered && S->current_row >= stmt->row_count) { in pgsql_stmt_fetch()
583 stmt->row_count = (zend_long)PQntuples(S->result); in pgsql_stmt_fetch()
586 if (!stmt->row_count) { in pgsql_stmt_fetch()
592 if (S->current_row < stmt->row_count) { in pgsql_stmt_fetch()
/php-src/ext/pdo_dblib/
H A Ddblib_stmt.c143 stmt->row_count = DBCOUNT(H->link); in pdo_dblib_stmt_next_rowset_no_cancel()
189 stmt->row_count = DBCOUNT(H->link); in pdo_dblib_stmt_execute()
/php-src/ext/pdo_firebird/
H A Dfirebird_statement.c223 stmt->row_count = affected_rows; in pdo_firebird_stmt_execute()
249 stmt->row_count = affected_rows; in pdo_firebird_stmt_execute()
286 stmt->row_count = 1; in pdo_firebird_stmt_fetch()
297 stmt->row_count++; in pdo_firebird_stmt_fetch()
/php-src/ext/pdo_sqlite/
H A Dsqlite_statement.c59 stmt->row_count = sqlite3_changes(S->H->db); in pdo_sqlite_stmt_execute()
/php-src/ext/pdo/
H A Dphp_pdo_driver.h594 zend_long row_count; member
H A Dpdo_stmt.c1512 RETURN_LONG(stmt->row_count); in PHP_METHOD()

Completed in 68 milliseconds