Tag: cws_dev300_dba30c User: oj Date: 2008-05-14 06:06:33+0000 Modified: dba/connectivity/source/drivers/odbc/OConnection.cxx
Log: #i89322# disable login timeout for macos due to an error in iodbc File Changes: Directory: /dba/connectivity/source/drivers/odbc/ ================================================= File [changed]: OConnection.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/odbc/OConnection.cxx?r1=1.44&r2=1.44.10.1 Delta lines: +4 -3 ------------------- --- OConnection.cxx 2008-04-10 10:26:05+0000 1.44 +++ OConnection.cxx 2008-05-14 06:06:30+0000 1.44.10.1 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: OConnection.cxx,v $ - * $Revision: 1.44 $ + * $Revision: 1.44.10.1 $ * * This file is part of OpenOffice.org. * @@ -114,9 +114,10 @@ ::rtl::OString aConStr(::rtl::OUStringToOString(aConnectStr,getTextEncoding())); memcpy(szConnStrIn, (SDB_ODBC_CHAR*) aConStr.getStr(), ::std::min<sal_Int32>((sal_Int32)2048,aConStr.getLength())); - +#ifndef MACOSX N3SQLSetConnectAttr(m_aConnectionHandle,SQL_ATTR_LOGIN_TIMEOUT,(SQLPOINTER)nTimeOut,SQL_IS_UINTEGER); // Verbindung aufbauen +#endif #ifdef LINUX OSL_UNUSED( bSilent ); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
