Repository navigation
Commit fb9fced
Zero the fetch indicator arrays (#412)
MariaDB Connector/ODBC leaves the length/indicator of a non-NULL BIT value
unwritten in a columnar fetch. The indicator array was allocated
uninitialized, so whenever its memory held -1 (SQL_NULL_DATA) from earlier
use, a stored true/false read back as missing. This was the intermittent
ODBC.load round-trip failure in CI (Senior read as [true, true, false,
missing]). Zeroed indicators read a value the driver didn't mark as
non-NULL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 93865fb commit fb9fced
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
493 | 505 | | |
494 | 506 | | |
495 | 507 | | |
| |||
0 commit comments