Kaydet (Commit) aa321ee4 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS geordi2q12 (1.28.90); FILE MERGED

2004/01/07 14:25:15 hr 1.28.90.1: #111934#: merge CWS dba01pp2 -> SRC680
üst 0c0d79e2
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: OConnection.cxx,v $ * $RCSfile: OConnection.cxx,v $
* *
* $Revision: 1.28 $ * $Revision: 1.29 $
* *
* last change: $Author: vg $ $Date: 2003-04-11 14:41:09 $ * last change: $Author: rt $ $Date: 2004-01-07 16:03:54 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -180,7 +180,7 @@ SQLRETURN OConnection::OpenConnection(const ::rtl::OUString& aConnectStr,sal_Int ...@@ -180,7 +180,7 @@ SQLRETURN OConnection::OpenConnection(const ::rtl::OUString& aConnectStr,sal_Int
szConnStrIn, szConnStrIn,
(SQLSMALLINT) ::std::min((sal_Int32)2048,aConStr.getLength()), (SQLSMALLINT) ::std::min((sal_Int32)2048,aConStr.getLength()),
szConnStrOut, szConnStrOut,
(SQLSMALLINT) sizeof szConnStrOut, (SQLSMALLINT) (sizeof(szConnStrOut)/sizeof(SDB_ODBC_CHAR)) -1,
&cbConnStrOut, &cbConnStrOut,
SQL_DRIVER_NOPROMPT); SQL_DRIVER_NOPROMPT);
if (nSQLRETURN == SQL_ERROR || nSQLRETURN == SQL_NO_DATA || SQL_SUCCESS_WITH_INFO == nSQLRETURN) if (nSQLRETURN == SQL_ERROR || nSQLRETURN == SQL_NO_DATA || SQL_SUCCESS_WITH_INFO == nSQLRETURN)
......
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