Commit 22ebfb7
committed
Try to use out_length for bound fetched values
I have no idea why it's using strlen in the first place, but if SQL/CLI
returns junk in the buffer, then the length might be correct. This
matches what we did with column names on IBM i.
The SQL_BINARY case is more puzzling, but we can take a look at it later
if this works for strings. Why is it ifdef'd to use strlen/out_length
depending on platform?1 parent eccd5a9 commit 22ebfb7
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6289 | 6289 | | |
6290 | 6290 | | |
6291 | 6291 | | |
6292 | | - | |
| 6292 | + | |
6293 | 6293 | | |
6294 | 6294 | | |
6295 | 6295 | | |
| |||
6316 | 6316 | | |
6317 | 6317 | | |
6318 | 6318 | | |
6319 | | - | |
| 6319 | + | |
6320 | 6320 | | |
6321 | 6321 | | |
6322 | 6322 | | |
6323 | | - | |
| 6323 | + | |
6324 | 6324 | | |
6325 | 6325 | | |
6326 | 6326 | | |
| |||
0 commit comments