Lines Matching refs:columns

197 	stmt->columns = ecalloc(stmt->column_count, sizeof(struct pdo_column_data));  in pdo_stmt_describe_columns()
206 char *s = ZSTR_VAL(stmt->columns[col].name); in pdo_stmt_describe_columns()
231 if (SUCCESS == zend_hash_find(stmt->bound_params, stmt->columns[col].name, in pdo_stmt_describe_columns()
232 stmt->columns[col].namelen, (void**)&param)) { in pdo_stmt_describe_columns()
241 stmt->columns[col].name)) != NULL) { in pdo_stmt_describe_columns()
337 if (!is_param && param->name && stmt->columns) { in really_register_bound_param()
342 if (ZSTR_LEN(stmt->columns[i].name) == ZSTR_LEN(param->name) && in really_register_bound_param()
343 … strncmp(ZSTR_VAL(stmt->columns[i].name), ZSTR_VAL(param->name), ZSTR_LEN(param->name) + 1) == 0) { in really_register_bound_param()
514 if (stmt->dbh->alloc_own_columns && !stmt->columns) { in PHP_METHOD()
546 col = &stmt->columns[colno]; in fetch_value()
687 if (!stmt->columns && !pdo_stmt_describe_columns(stmt)) { in do_fetch_common()
1018 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1039 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1050 if ((curr_val = zend_hash_find(Z_ARRVAL_P(return_value), stmt->columns[i].name))) { in do_fetch()
1075 zend_hash_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1087 stmt->columns[i].name, in do_fetch()
1095 stmt->columns[i].name, in do_fetch()
1818 col = &stmt->columns[colno]; in PHP_METHOD()
2017 if (stmt->columns) { in pdo_stmt_do_next_rowset()
2019 struct pdo_column_data *cols = stmt->columns; in pdo_stmt_do_next_rowset()
2026 efree(stmt->columns); in pdo_stmt_do_next_rowset()
2027 stmt->columns = NULL; in pdo_stmt_do_next_rowset()
2327 if (stmt->columns) { in php_pdo_free_statement()
2329 struct pdo_column_data *cols = stmt->columns; in php_pdo_free_statement()
2337 efree(stmt->columns); in php_pdo_free_statement()
2338 stmt->columns = NULL; in php_pdo_free_statement()
2511 if (ZSTR_LEN(stmt->columns[colno].name) == Z_STRLEN_P(member) && in row_prop_read()
2512 strncmp(ZSTR_VAL(stmt->columns[colno].name), Z_STRVAL_P(member), Z_STRLEN_P(member)) == 0) { in row_prop_read()
2564 if (ZSTR_LEN(stmt->columns[colno].name) == Z_STRLEN_P(member) && in row_prop_exists()
2565 strncmp(ZSTR_VAL(stmt->columns[colno].name), Z_STRVAL_P(member), Z_STRLEN_P(member)) == 0) { in row_prop_exists()
2613 zend_hash_update(stmt->std.properties, stmt->columns[i].name, &val); in row_get_properties()