summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/odbc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-07-24 10:50:49 +0000
committerRüdiger Timm <rt@openoffice.org>2007-07-24 10:50:49 +0000
commita967ab52d613fc1ec3130403e83d5f60d081ea9a (patch)
tree60fdea8cfd3c9bb15afe7bb10e64e7bd9bc3bfc7 /connectivity/source/drivers/odbc
parente51f1b0832c9e56cd11d8f0dacb68ed575f1565d (diff)
INTEGRATION: CWS dba23b (1.40.64); FILE MERGED
2007/06/14 19:59:23 fs 1.40.64.1: #i78459# submitted by mox@openoffice.org: remove dead code related to ancient Mac OS System 9 port
Diffstat (limited to 'connectivity/source/drivers/odbc')
-rw-r--r--connectivity/source/drivers/odbc/OConnection.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/connectivity/source/drivers/odbc/OConnection.cxx b/connectivity/source/drivers/odbc/OConnection.cxx
index 00e2b88e398f..12c262ffbd61 100644
--- a/connectivity/source/drivers/odbc/OConnection.cxx
+++ b/connectivity/source/drivers/odbc/OConnection.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: OConnection.cxx,v $
*
- * $Revision: 1.40 $
+ * $Revision: 1.41 $
*
- * last change: $Author: kz $ $Date: 2006-12-13 16:21:28 $
+ * last change: $Author: rt $ $Date: 2007-07-24 11:50:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -202,12 +202,11 @@ SQLRETURN OConnection::OpenConnection(const ::rtl::OUString& aConnectStr,sal_Int
{
}
-#ifndef MAC
+
// autocoomit ist immer default
if (!bReadOnly)
N3SQLSetConnectAttr(m_aConnectionHandle,SQL_ATTR_AUTOCOMMIT,(SQLPOINTER)SQL_AUTOCOMMIT_ON,SQL_IS_INTEGER);
-#endif
return nSQLRETURN;
}