Commit 8bf7033
committed
odbc: Fix for SQL_COPT_SS_OLDPWD attribute
This attribute allows to change the password while logging
to the server.
Code was wrongly taking the length of the attribute in
characters instead of bytes causing a failure using wide
function.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>1 parent 5212de1 commit 8bf7033
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6556 | 6556 | | |
6557 | 6557 | | |
6558 | 6558 | | |
6559 | | - | |
| 6559 | + | |
6560 | 6560 | | |
6561 | 6561 | | |
6562 | 6562 | | |
| |||
0 commit comments