mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
08073b0658
Firstly, we must not rely on `stmt->column_count` when freeing the driver specific column values, but rather store the column count in the driver data. Since the column count is a `short`, 16 bit are sufficient, so we can store it in reserved bits of `pdo_odbc_stmt`. Furthermore, we must not allocate new column value storage when the statement is not executed, but rather when the column value storage has not been allocated. Finally, we have to introduce a driver specific `cursor_closer` to avoid that `::closeCursor()` calls `odbc_stmt_next_rowset()` which then frees the column value storage, because it may be still needed for bound columns. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
odbc_driver.c | ||
odbc_stmt.c | ||
pdo_odbc.c | ||
php_pdo_odbc_int.h | ||
php_pdo_odbc.h |