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

/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps.c106 if (result->stored_data->row_count) {
108 if (result->stored_data->row_count * result->meta->field_count * sizeof(zval *) > SIZE_MAX) {
113 set->data = mnd_emalloc((size_t)(result->stored_data->row_count * result->meta->field_count * sizeof(zval)));
118 memset(set->data, 0, (size_t)(result->stored_data->row_count * result->meta->field_count * sizeof(zval)));
127 stmt->upsert_status->affected_rows = stmt->result->stored_data->row_count;
194 stmt->upsert_status->affected_rows = result->stored_data->row_count;
752 (set->data_cursor - set->data) < (result->stored_data->row_count * field_count))
930 result->unbuf->row_count++;
1124 result->unbuf->row_count++;
H A Dmysqlnd_result.c43 const uint64_t row_count = result->row_count; local
51 if (!data_cursor || row_count == result->initialized_rows) {
54 while ((data_cursor - data_begin) < (int)(row_count * field_count)) {
96 const uint64_t row_count = result->row_count; local
100 if (result->initialized_rows < row_count) {
108 for (i = 0; i < result->row_count; i++) {
220 for (row = set->row_count - 1; row >= 0; row--) {
257 DBG_INF_FMT("Freeing "MYSQLND_LLU_SPEC" row(s)", set->row_count);
[all...]
H A Dmysqlnd_structs.h1013 uint64_t row_count; \
1062 uint64_t row_count; member in struct:st_mysqlnd_unbuffered_result
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h597 zend_long row_count; member in struct:_pdo_stmt_t
H A Dpdo_stmt.c1646 RETURN_LONG(stmt->row_count);
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c110 stmt->row_count = affected_rows;
130 stmt->row_count = affected_rows;
175 stmt->row_count++;
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_statement.c119 zend_long row_count; local
121 row_count = (zend_long) mysql_stmt_affected_rows(S->stmt);
122 if (row_count != (zend_long)-1) {
123 stmt->row_count = row_count;
132 my_ulonglong row_count; local
135 row_count = mysql_affected_rows(H->server);
136 if (row_count == (my_ulonglong)-1) {
149 stmt->row_count = (zend_long) mysql_num_rows(S->result);
154 stmt->row_count
346 zend_long row_count; local
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Doci_statement.c182 stmt->row_count = (long)rowcount;
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_driver.c227 SQLLEN row_count = -1; local
242 row_count = 0;
251 rc = SQLRowCount(stmt, &row_count);
256 if (row_count == -1) {
257 row_count = 0;
261 return row_count;
H A Dodbc_stmt.c167 SQLLEN row_count = -1; local
264 SQLRowCount(S->stmt, &row_count);
265 stmt->row_count = row_count;
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c233 ZEND_ATOL(stmt->row_count, PQcmdTuples(S->result));
236 stmt->row_count = (zend_long)PQntuples(S->result);
432 if (S->current_row < stmt->row_count) {
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_statement.c63 stmt->row_count = sqlite3_changes(S->H->db);
/PHP_TRUNK/ext/sqlite3/
H A Dphp_sqlite3_structs.h94 zend_long row_count; member in struct:_php_sqlite3_agg_context
H A Dsqlite3.c716 ZVAL_LONG(&zargs[1], agg_context->row_count);
827 agg_context->row_count++;
839 agg_context->row_count = 0;
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c1534 CS_INT row_count; local
1535 if (ct_res_info(sybase_ptr->cmd, CS_ROW_COUNT, &row_count, CS_UNUSED, NULL)==CS_SUCCEED) {
1536 sybase_ptr->affected_rows = (long)row_count;
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c135 stmt->row_count = DBCOUNT(H->link);
161 stmt->row_count = DBCOUNT(H->link);

Completed in 55 milliseconds