Commit c4b1b8f
committed
refactor(odbc): improve binary data length handling in buffer descriptions
This commit modifies the handling of binary data types in the ODBC bridge by adjusting the length constraints for `Binary`, `Varbinary`, and `LongVarbinary`. The new implementation ensures that the length is capped between `MIN_TEXT_LEN` and `MAX_TEXT_LEN`, enhancing the robustness of buffer descriptions.1 parent 0ff092e commit c4b1b8f
1 file changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
208 | 211 | | |
209 | 212 | | |
210 | 213 | | |
| |||
0 commit comments