Lines Matching refs:columns
132 stmt->columns = ecalloc(stmt->column_count, sizeof(struct pdo_column_data)); in pdo_stmt_describe_columns()
141 zend_string *orig_name = stmt->columns[col].name; in pdo_stmt_describe_columns()
144 stmt->columns[col].name = zend_string_tolower(orig_name); in pdo_stmt_describe_columns()
148 stmt->columns[col].name = zend_string_separate(orig_name, 0); in pdo_stmt_describe_columns()
149 char *s = ZSTR_VAL(stmt->columns[col].name); in pdo_stmt_describe_columns()
165 stmt->columns[col].name)) != NULL) { in pdo_stmt_describe_columns()
176 if (stmt->columns) { in pdo_stmt_reset_columns()
178 struct pdo_column_data *cols = stmt->columns; in pdo_stmt_reset_columns()
185 efree(stmt->columns); in pdo_stmt_reset_columns()
187 stmt->columns = NULL; in pdo_stmt_reset_columns()
198 if (!stmt->columns) { in php_pdo_stmt_set_column_count()
294 if (!is_param && param->name && stmt->columns) { in really_register_bound_param()
299 if (zend_string_equals(stmt->columns[i].name, param->name)) { in really_register_bound_param()
466 if (stmt->dbh->alloc_own_columns && !stmt->columns) { in PHP_METHOD()
582 if (!stmt->columns && !pdo_stmt_describe_columns(stmt)) { in do_fetch_common()
917 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
938 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
948 if ((curr_val = zend_hash_find(Z_ARRVAL_P(return_value), stmt->columns[i].name))) { in do_fetch()
973 zend_hash_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
985 stmt->columns[i].name, in do_fetch()
993 stmt->columns[i].name, in do_fetch()
1686 col = &stmt->columns[colno]; in PHP_METHOD()
2273 if (zend_string_equals(stmt->columns[colno].name, name)) { in row_read_column_name()
2448 if (zend_string_equals_literal(stmt->columns[i].name, "queryString")) { in row_get_properties_for()
2455 zend_hash_update(props, stmt->columns[i].name, &val); in row_get_properties_for()