[Libreoffice-commits] core.git: Branch 'aoo/trunk' - connectivity/source

Damjan Jovanovic damjan at apache.org
Sun Nov 19 15:08:46 UTC 2017


 connectivity/source/inc/odbc/OFunctions.hxx |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

New commits:
commit 72c9a57b915e080b4bd27800f30232624172b1c3
Author: Damjan Jovanovic <damjan at apache.org>
Date:   Sun Nov 19 14:37:19 2017 +0000

    Fix an argument for SQLSetDescRec.
    
    Remove a duplicated and commented T3SQLNativeSql definition.
    
    Patch by: me

diff --git a/connectivity/source/inc/odbc/OFunctions.hxx b/connectivity/source/inc/odbc/OFunctions.hxx
index ac689c620b54..bddcc8d34698 100644
--- a/connectivity/source/inc/odbc/OFunctions.hxx
+++ b/connectivity/source/inc/odbc/OFunctions.hxx
@@ -192,7 +192,7 @@ namespace connectivity
                                                     SQLSMALLINT         RecNumber,
                                                     SQLSMALLINT         Type,
                                                     SQLSMALLINT         SubType,
-                                                    SQLINTEGER          Length,
+                                                    SQLLEN              Length,
                                                     SQLSMALLINT         Precision,
                                                     SQLSMALLINT         Scale,
                                                     SQLPOINTER          DataPtr,
@@ -247,15 +247,6 @@ namespace connectivity
 
     #define N3SQLExecDirect(a,b,c) (*(T3SQLExecDirect)getOdbcFunction(ODBC3SQLExecDirect))(a,b,c)
 
-    /*typedef SQLRETURN  (SQL_API  *T3SQLNativeSql) (   SQLHDBC             ConnectionHandle,
-                                                    SQLCHAR *           InStatementText,
-                                                    SQLINTEGER          TextLength1,
-                                                    SQLCHAR *           utStatementText,
-                                                    SQLINTEGER          BufferLength,
-                                                    SQLINTEGER *        TextLength2Ptr);
-
-    #define N3SQLNativeSql(a,b,c,d,e,f) (*(T3SQLNativeSql)getOdbcFunction(ODBC3SQLNativeSql))(a,b,c,d,e,f)*/
-
     typedef SQLRETURN (SQL_API  *T3SQLDescribeParam) (SQLHSTMT          StatementHandle,
                                                     SQLUSMALLINT        ParameterNumber,
                                                     SQLSMALLINT *       DataTypePtr,


More information about the Libreoffice-commits mailing list