Home
last modified time | relevance | path

Searched refs:column_count (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/pdo_mysql/
H A Dmysql_statement.c44 unsigned column_count = mysql_num_fields(S->result); in pdo_mysql_free_result() local
45 for (unsigned i = 0; i < column_count; i++) { in pdo_mysql_free_result()
56 unsigned column_count = mysql_num_fields(S->result); in pdo_mysql_free_result()
57 for (unsigned i = 0; i < column_count; i++) { in pdo_mysql_free_result()
169 for (int i = 0; i < stmt->column_count; i++) { in pdo_mysql_stmt_after_execute_prepared()
197 for (int i = 0; i < stmt->column_count; i++) { in pdo_mysql_stmt_after_execute_prepared()
586 for (unsigned i = 0; i < stmt->column_count; i++) { in pdo_mysql_stmt_fetch()
638 if (colno >= stmt->column_count) { in pdo_mysql_stmt_describe()
649 for (i = 0; i < stmt->column_count; i++) { in pdo_mysql_stmt_describe()
679 if (colno >= stmt->column_count) { in pdo_mysql_stmt_get_col()
[all …]
/php-src/ext/pdo_dblib/
H A Ddblib_stmt.c144 stmt->column_count = num_fields; in pdo_dblib_stmt_next_rowset_no_cancel()
190 stmt->column_count = dbnumcols(H->link); in pdo_dblib_stmt_execute()
225 if(colno >= stmt->column_count || colno < 0) { in pdo_dblib_stmt_describe()
471 if(colno >= stmt->column_count || colno < 0) { in pdo_dblib_stmt_get_column_meta()
/php-src/ext/pdo/
H A Dpdo_stmt.c180 for (i = 0; i < stmt->column_count; i++) { in pdo_stmt_reset_columns()
188 stmt->column_count = 0; in pdo_stmt_reset_columns()
199 stmt->column_count = new_count; in php_pdo_stmt_set_column_count()
205 if (new_count == stmt->column_count) { in php_pdo_stmt_set_column_count()
211 stmt->column_count = new_count; in php_pdo_stmt_set_column_count()
298 for (i = 0; i < stmt->column_count; i++) { in really_register_bound_param()
495 if (colno >= stmt->column_count) { in fetch_value()
768 if (stmt->column_count != 2) { in do_fetch()
784 if (colno >= stmt->column_count) { in do_fetch()
1654 RETURN_LONG(stmt->column_count); in PHP_METHOD()
[all …]
H A Dphp_pdo_driver.h572 int column_count; member
/php-src/ext/sqlite3/
H A Dphp_sqlite3_structs.h106 int column_count; member
H A Dsqlite3.c602 result->column_count = -1; in PHP_METHOD()
1801 result->column_count = -1; in PHP_METHOD()
1952 if (result_obj->column_count == -1) { in PHP_METHOD()
1953 result_obj->column_count = sqlite3_column_count(result_obj->stmt_obj->stmt); in PHP_METHOD()
1956 int n_cols = result_obj->column_count; in PHP_METHOD()
2004 for (int i = 0; i < result->column_count; i++) { in sqlite3result_clear_column_names_cache()
2010 result->column_count = -1; in sqlite3result_clear_column_names_cache()
/php-src/ext/pdo_pgsql/
H A Dpgsql_statement.c249 stmt->column_count = (int) PQnfields(S->result); in pgsql_stmt_execute()
251 S->cols = ecalloc(stmt->column_count, sizeof(pdo_pgsql_column)); in pgsql_stmt_execute()
620 if (colno >= stmt->column_count) { in pgsql_stmt_get_column_meta()
/php-src/ext/pdo_odbc/
H A Dodbc_stmt.c277 stmt->column_count = S->col_count = (int)colcount; in odbc_stmt_execute()
842 stmt->column_count = S->col_count = (int)colcount; in odbc_stmt_next_rowset()
/php-src/ext/pdo_firebird/
H A Dfirebird_driver.c592 S->out_sqlda.sqln = stmt->column_count = num_sqlda.sqld; in firebird_handle_preparer()

Completed in 47 milliseconds