Kaydet (Commit) 12b7ba60 authored tarafından Gabriele Bulfon's avatar Gabriele Bulfon Kaydeden (comit) Michael Stahl

use proper SQLINTEGER type (fixes build on Illumos)

Change-Id: I85296600195dd5d74d2a112ce6cfef7f276535ab
üst b3f41543
...@@ -417,7 +417,7 @@ OUString SAL_CALL OConnection::getCatalog( ) throw(SQLException, RuntimeExcepti ...@@ -417,7 +417,7 @@ OUString SAL_CALL OConnection::getCatalog( ) throw(SQLException, RuntimeExcepti
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
sal_Int32 nValueLen; SQLINTEGER nValueLen;
char pCat[1024]; char pCat[1024];
OTools::ThrowException(this, OTools::ThrowException(this,
N3SQLGetConnectAttr(m_aConnectionHandle,SQL_ATTR_CURRENT_CATALOG,(SDB_ODBC_CHAR*)pCat,(sizeof pCat)-1,&nValueLen), N3SQLGetConnectAttr(m_aConnectionHandle,SQL_ATTR_CURRENT_CATALOG,(SDB_ODBC_CHAR*)pCat,(sizeof pCat)-1,&nValueLen),
......
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