Kaydet (Commit) a62e5383 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

stylistic: use sal_Int8 rather than char for binary data

Change-Id: Ic3c7d8d2a27e1835513790523ddd3bdc8f7c2101
üst 2dac905b
...@@ -358,7 +358,7 @@ Sequence<sal_Int8> OTools::getBytesValue(const OConnection* _pConnection, ...@@ -358,7 +358,7 @@ Sequence<sal_Int8> OTools::getBytesValue(const OConnection* _pConnection,
const Reference< XInterface >& _xInterface) throw(SQLException, RuntimeException) const Reference< XInterface >& _xInterface) throw(SQLException, RuntimeException)
{ {
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "odbc", "Ocke.Janssen@sun.com", "OTools::getBytesValue" ); RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "odbc", "Ocke.Janssen@sun.com", "OTools::getBytesValue" );
char aCharArray[2048]; sal_Int8 aCharArray[2048];
// First try to fetch the data with the little Buffer: // First try to fetch the data with the little Buffer:
SQLLEN nMaxLen = sizeof aCharArray - 1; SQLLEN nMaxLen = sizeof aCharArray - 1;
// GETDATA(SQL_C_CHAR,aCharArray,nMaxLen); // GETDATA(SQL_C_CHAR,aCharArray,nMaxLen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment