odbc 64 bit crash: correct buffer length allocation for a SQLLEN
This commit is contained in:
@@ -68,7 +68,7 @@ namespace connectivity
|
|||||||
// to a Java sal_Int32. The jdbcodbc 'C' bridge provides an
|
// to a Java sal_Int32. The jdbcodbc 'C' bridge provides an
|
||||||
// interface to do this.
|
// interface to do this.
|
||||||
|
|
||||||
paramLength = new sal_Int8[4];
|
paramLength = new sal_Int8[sizeof(SQLLEN)];
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user