connectivity/source/inc/odbc/OFunctions.hxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-)
New commits: commit 72c9a57b915e080b4bd27800f30232624172b1c3 Author: Damjan Jovanovic <[email protected]> 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, _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
