Fix #50444: PDO-ODBC changes for 64-bit

This bug is also referenced in
[#61777](https://bugs.php.net/bug.php?id=61777) and is still present in
the latest stable release of the 5.5 branch. I see two tickets exist for
this problem already, and I'm just submitting these changes via github
as a reminder that this is a serious problem for anyone using PDO_ODBC
on the x64 builds.
This commit is contained in:
Andrew Kehrig 2014-02-24 12:01:58 -05:00 committed by Stanislav Malyshev
parent 076c25bfec
commit 91e7b3b84f
3 changed files with 6 additions and 3 deletions

View file

@ -157,7 +157,7 @@ typedef struct {
} pdo_odbc_stmt;
typedef struct {
SQLINTEGER len;
SQLLEN len;
SQLSMALLINT paramtype;
char *outbuf;
unsigned is_unicode:1;