odbc 64 bit crash: correct buffer length allocation for a SQLLEN

This commit is contained in:
Lionel Elie Mamane
2012-02-14 14:54:03 +01:00
parent 288cc968c4
commit 84d21e4de2

View File

@@ -68,7 +68,7 @@ namespace connectivity
// to a Java sal_Int32. The jdbcodbc 'C' bridge provides an
// interface to do this.
paramLength = new sal_Int8[4];
paramLength = new sal_Int8[sizeof(SQLLEN)];
}
//--------------------------------------------------------------------