Lines Matching refs:columns
209 stmt->columns = ecalloc(stmt->column_count, sizeof(struct pdo_column_data)); in pdo_stmt_describe_columns()
218 char *s = stmt->columns[col].name; in pdo_stmt_describe_columns()
243 if (SUCCESS == zend_hash_find(stmt->bound_params, stmt->columns[col].name, in pdo_stmt_describe_columns()
244 stmt->columns[col].namelen, (void**)¶m)) { in pdo_stmt_describe_columns()
252 if (SUCCESS == zend_hash_find(stmt->bound_columns, stmt->columns[col].name, in pdo_stmt_describe_columns()
253 stmt->columns[col].namelen, (void**)¶m)) { in pdo_stmt_describe_columns()
341 if (!is_param && param->name && stmt->columns) { in really_register_bound_param()
346 if (strcmp(stmt->columns[i].name, param->name) == 0) { in really_register_bound_param()
522 if (stmt->dbh->alloc_own_columns && !stmt->columns) { in PHP_METHOD()
554 col = &stmt->columns[colno]; in fetch_value()
705 if (!stmt->columns && !pdo_stmt_describe_columns(stmt TSRMLS_CC)) { in do_fetch_common()
1038 add_assoc_zval(return_value, stmt->columns[i].name, val); in do_fetch()
1060 add_assoc_zval(return_value, stmt->columns[i].name, val); in do_fetch()
1069 if (zend_hash_find(Z_ARRVAL_P(return_value), stmt->columns[i].name, in do_fetch()
1070 strlen(stmt->columns[i].name)+1, in do_fetch()
1097 add_assoc_zval(return_value, stmt->columns[i].name, val); in do_fetch()
1109 stmt->columns[i].name, stmt->columns[i].namelen, in do_fetch()
1117 stmt->columns[i].name, stmt->columns[i].namelen, in do_fetch()
1841 col = &stmt->columns[colno]; in PHP_METHOD()
2048 if (stmt->columns) { in pdo_stmt_do_next_rowset()
2050 struct pdo_column_data *cols = stmt->columns; in pdo_stmt_do_next_rowset()
2055 efree(stmt->columns); in pdo_stmt_do_next_rowset()
2056 stmt->columns = NULL; in pdo_stmt_do_next_rowset()
2369 if (stmt->columns) { in free_statement()
2371 struct pdo_column_data *cols = stmt->columns; in free_statement()
2379 efree(stmt->columns); in free_statement()
2380 stmt->columns = NULL; in free_statement()
2577 if (strcmp(stmt->columns[colno].name, Z_STRVAL_P(member)) == 0) { in row_prop_read()
2626 if (strcmp(stmt->columns[colno].name, Z_STRVAL_P(member)) == 0) { in row_prop_exists()
2676 …zend_hash_update(stmt->std.properties, stmt->columns[i].name, stmt->columns[i].namelen + 1, (void … in row_get_properties()