diff options
author | Christina Rossmanith <ChrRossmanith@web.de> | 2011-06-01 23:07:21 +0200 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-06-04 22:52:40 +0200 |
commit | 892d3e7a4d6b2226200819d0db8e40e042039a57 (patch) | |
tree | 32bc394782d00cdabf0831ebf3338ae67503f625 /connectivity/source | |
parent | 061540a473881e7a776cc8730f14fe97ceb270eb (diff) |
Removed commented code
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/adabas/BDriver.cxx | 13 | ||||
-rw-r--r-- | connectivity/source/drivers/adabas/BFunctions.cxx | 7 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/OFunctions.cxx | 21 |
3 files changed, 0 insertions, 41 deletions
diff --git a/connectivity/source/drivers/adabas/BDriver.cxx b/connectivity/source/drivers/adabas/BDriver.cxx index 186e7263a7de..9805ac90e2bf 100644 --- a/connectivity/source/drivers/adabas/BDriver.cxx +++ b/connectivity/source/drivers/adabas/BDriver.cxx @@ -94,17 +94,11 @@ namespace connectivity extern T3SQLGetEnvAttr pODBC3SQLGetEnvAttr; extern T3SQLSetStmtAttr pODBC3SQLSetStmtAttr; extern T3SQLGetStmtAttr pODBC3SQLGetStmtAttr; - //extern T3SQLSetDescField pODBC3SQLSetDescField; - //extern T3SQLGetDescField pODBC3SQLGetDescField; - //extern T3SQLGetDescRec pODBC3SQLGetDescRec; - //extern T3SQLSetDescRec pODBC3SQLSetDescRec; extern T3SQLPrepare pODBC3SQLPrepare; extern T3SQLBindParameter pODBC3SQLBindParameter; - //extern T3SQLGetCursorName pODBC3SQLGetCursorName; extern T3SQLSetCursorName pODBC3SQLSetCursorName; extern T3SQLExecute pODBC3SQLExecute; extern T3SQLExecDirect pODBC3SQLExecDirect; - //extern T3SQLNativeSql pODBC3SQLNativeSql; extern T3SQLDescribeParam pODBC3SQLDescribeParam; extern T3SQLNumParams pODBC3SQLNumParams; extern T3SQLParamData pODBC3SQLParamData; @@ -120,7 +114,6 @@ namespace connectivity extern T3SQLSetPos pODBC3SQLSetPos; extern T3SQLBulkOperations pODBC3SQLBulkOperations; extern T3SQLMoreResults pODBC3SQLMoreResults; - //extern T3SQLGetDiagField pODBC3SQLGetDiagField; extern T3SQLGetDiagRec pODBC3SQLGetDiagRec; extern T3SQLColumnPrivileges pODBC3SQLColumnPrivileges; extern T3SQLColumns pODBC3SQLColumns; @@ -945,12 +938,6 @@ void ODriver::createDb( const TDatabaseStruct& _aInfo) // %m_sDbRoot%\bin\xutil -d %_aInfo.sDBName% -u %CONUSR%,%CONPWD% -b %INITCMD% ::rtl::OUString aBatch2 = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("-b ")); -// if(!bBsp && INITCMD.Len() >= 40) -// { -// DirEntry aTmp(INITCMD); -// aTmp.CopyTo(aInitFile, FSYS_ACTION_COPYFILE); -// INITCMD = aInitFile.GetFull(); -// } // generate the init file for the database String sInitFile = getDatabaseInitFile(_aInfo); diff --git a/connectivity/source/drivers/adabas/BFunctions.cxx b/connectivity/source/drivers/adabas/BFunctions.cxx index 0a10de3f6f55..65172f5d479f 100644 --- a/connectivity/source/drivers/adabas/BFunctions.cxx +++ b/connectivity/source/drivers/adabas/BFunctions.cxx @@ -54,17 +54,11 @@ T3SQLSetEnvAttr pODBC3SQLSetEnvAttr; T3SQLGetEnvAttr pODBC3SQLGetEnvAttr; T3SQLSetStmtAttr pODBC3SQLSetStmtAttr; T3SQLGetStmtAttr pODBC3SQLGetStmtAttr; -//T3SQLSetDescField pODBC3SQLSetDescField; -//T3SQLGetDescField pODBC3SQLGetDescField; -//T3SQLGetDescRec pODBC3SQLGetDescRec; -//T3SQLSetDescRec pODBC3SQLSetDescRec; T3SQLPrepare pODBC3SQLPrepare; T3SQLBindParameter pODBC3SQLBindParameter; -//T3SQLGetCursorName pODBC3SQLGetCursorName; T3SQLSetCursorName pODBC3SQLSetCursorName; T3SQLExecute pODBC3SQLExecute; T3SQLExecDirect pODBC3SQLExecDirect; -//T3SQLNativeSql pODBC3SQLNativeSql; T3SQLDescribeParam pODBC3SQLDescribeParam; T3SQLNumParams pODBC3SQLNumParams; T3SQLParamData pODBC3SQLParamData; @@ -80,7 +74,6 @@ T3SQLGetData pODBC3SQLGetData; T3SQLSetPos pODBC3SQLSetPos; T3SQLBulkOperations pODBC3SQLBulkOperations; T3SQLMoreResults pODBC3SQLMoreResults; -//T3SQLGetDiagField pODBC3SQLGetDiagField; T3SQLGetDiagRec pODBC3SQLGetDiagRec; T3SQLColumnPrivileges pODBC3SQLColumnPrivileges; T3SQLColumns pODBC3SQLColumns; diff --git a/connectivity/source/drivers/odbc/OFunctions.cxx b/connectivity/source/drivers/odbc/OFunctions.cxx index 9cc27a25d906..64c2190b2332 100644 --- a/connectivity/source/drivers/odbc/OFunctions.cxx +++ b/connectivity/source/drivers/odbc/OFunctions.cxx @@ -52,17 +52,11 @@ T3SQLSetEnvAttr pODBC3SQLSetEnvAttr; T3SQLGetEnvAttr pODBC3SQLGetEnvAttr; T3SQLSetStmtAttr pODBC3SQLSetStmtAttr; T3SQLGetStmtAttr pODBC3SQLGetStmtAttr; -//T3SQLSetDescField pODBC3SQLSetDescField; -//T3SQLGetDescField pODBC3SQLGetDescField; -//T3SQLGetDescRec pODBC3SQLGetDescRec; -//T3SQLSetDescRec pODBC3SQLSetDescRec; T3SQLPrepare pODBC3SQLPrepare; T3SQLBindParameter pODBC3SQLBindParameter; -//T3SQLGetCursorName pODBC3SQLGetCursorName; T3SQLSetCursorName pODBC3SQLSetCursorName; T3SQLExecute pODBC3SQLExecute; T3SQLExecDirect pODBC3SQLExecDirect; -//T3SQLNativeSql pODBC3SQLNativeSql; T3SQLDescribeParam pODBC3SQLDescribeParam; T3SQLNumParams pODBC3SQLNumParams; T3SQLParamData pODBC3SQLParamData; @@ -78,7 +72,6 @@ T3SQLGetData pODBC3SQLGetData; T3SQLSetPos pODBC3SQLSetPos; T3SQLBulkOperations pODBC3SQLBulkOperations; T3SQLMoreResults pODBC3SQLMoreResults; -//T3SQLGetDiagField pODBC3SQLGetDiagField; T3SQLGetDiagRec pODBC3SQLGetDiagRec; T3SQLColumnPrivileges pODBC3SQLColumnPrivileges; T3SQLColumns pODBC3SQLColumns; @@ -166,28 +159,16 @@ sal_Bool LoadFunctions(oslModule pODBCso) return sal_False; if( ( pODBC3SQLGetStmtAttr = (T3SQLGetStmtAttr)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLGetStmtAttr")).pData )) == NULL ) return sal_False; - /*if( ( pODBC3SQLSetDescField = (T3SQLSetDescField)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLSetDescField")).pData )) == NULL ) - return sal_False; - if( ( pODBC3SQLGetDescField = (T3SQLGetDescField)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLGetDescField")).pData )) == NULL ) - return sal_False;*/ - /*if( ( pODBC3SQLGetDescRec = (T3SQLGetDescRec)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLGetDescRec")).pData )) == NULL ) - return sal_False; - if( ( pODBC3SQLSetDescRec = (T3SQLSetDescRec)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLSetDescRec")).pData )) == NULL ) - return sal_False;*/ if( ( pODBC3SQLPrepare = (T3SQLPrepare)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLPrepare")).pData )) == NULL ) return sal_False; if( ( pODBC3SQLBindParameter = (T3SQLBindParameter)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLBindParameter")).pData )) == NULL ) return sal_False; -// if( ( pODBC3SQLGetCursorName = (T3SQLGetCursorName)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLGetCursorName")).pData )) == NULL ) -// return sal_False; if( ( pODBC3SQLSetCursorName = (T3SQLSetCursorName)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLSetCursorName")).pData )) == NULL ) return sal_False; if( ( pODBC3SQLExecute = (T3SQLExecute)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLExecute")).pData )) == NULL ) return sal_False; if( ( pODBC3SQLExecDirect = (T3SQLExecDirect)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLExecDirect")).pData )) == NULL ) return sal_False; - /*if( ( pODBC3SQLNativeSql = (T3SQLNativeSql)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLNativeSql")).pData )) == NULL ) - return sal_False;*/ if( ( pODBC3SQLDescribeParam = (T3SQLDescribeParam)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLDescribeParam")).pData )) == NULL ) return sal_False; if( ( pODBC3SQLNumParams = (T3SQLNumParams)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLNumParams")).pData )) == NULL ) @@ -218,8 +199,6 @@ sal_Bool LoadFunctions(oslModule pODBCso) return sal_False; if( ( pODBC3SQLMoreResults = (T3SQLMoreResults)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLMoreResults")).pData )) == NULL ) return sal_False; - /*if( ( pODBC3SQLGetDiagField = (T3SQLGetDiagField)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLGetDiagField")).pData )) == NULL ) - return sal_False;*/ if( ( pODBC3SQLGetDiagRec = (T3SQLGetDiagRec)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLGetDiagRec")).pData )) == NULL ) return sal_False; if( ( pODBC3SQLColumnPrivileges = (T3SQLColumnPrivileges)osl_getFunctionSymbol(pODBCso, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLColumnPrivileges")).pData )) == NULL ) |