#
f4a5db3e |
| 28-Oct-2023 |
Máté Kocsis |
Parallelize pdo tests (dblib, firebird, oci, odbc, pgsql) (#12395) Co-authored-by: George Peter Banyard <girgias@php.net> Co-authored-by: Jorg Adam Sowa <jorg.sowa@gmail.com>
|
#
bccca0b5 |
| 25-Feb-2021 |
Christoph M. Becker |
Fix #80783: PDO ODBC truncates BLOB records at every 256th byte It is not guaranteed, that the driver inserts only a single NUL byte at the end of the buffer. Apparently, there is no wa
Fix #80783: PDO ODBC truncates BLOB records at every 256th byte It is not guaranteed, that the driver inserts only a single NUL byte at the end of the buffer. Apparently, there is no way to find out the actual data length in the buffer after calling `SQLGetData()`, so we adjust after the next `SQLGetData()` call. We also prevent PDO::ODBC_ATTR_ASSUME_UTF8 from fetching garbage, by fetching all chunks with the same C type. Closes GH-6716.
show more ...
|