diff options
author | Damjan Jovanovic <damjan@apache.org> | 2017-11-19 14:37:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-23 21:43:22 +0100 |
commit | dbb42ebced375a366712394c1e8917e78abd7a5e (patch) | |
tree | 129e1dbba658280af773eca569d051ebab6beedb | |
parent | 6a8c781df0b4e7760a52693b83e5cd903acd30d4 (diff) |
Fix an argument for SQLSetDescRec.
Remove a duplicated and commented T3SQLNativeSql definition. Patch by: me (cherry picked from commit 72c9a57b915e080b4bd27800f30232624172b1c3) Change-Id: I2730ede794f750181075b253f62951d47ec82ddc Reviewed-on: https://gerrit.libreoffice.org/45176 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | connectivity/source/inc/odbc/OFunctions.hxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/connectivity/source/inc/odbc/OFunctions.hxx b/connectivity/source/inc/odbc/OFunctions.hxx index 2ad9043541b1..95787a1db4d2 100644 --- a/connectivity/source/inc/odbc/OFunctions.hxx +++ b/connectivity/source/inc/odbc/OFunctions.hxx @@ -188,7 +188,7 @@ bool LoadLibrary_ODBC3(OUString &_rPath); SQLSMALLINT RecNumber, SQLSMALLINT Type, SQLSMALLINT SubType, - SQLINTEGER Length, + SQLLEN Length, SQLSMALLINT Precision, SQLSMALLINT Scale, SQLPOINTER DataPtr, @@ -243,15 +243,6 @@ bool LoadLibrary_ODBC3(OUString &_rPath); #define N3SQLExecDirect(a,b,c) (*reinterpret_cast<T3SQLExecDirect>(getOdbcFunction(ODBC3SQLFunctionId::ExecDirect)))(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) (*reinterpret_cast<T3SQLNativeSql>(getOdbcFunction(ODBC3SQLFunctionId::NativeSql)))(a,b,c,d,e,f)*/ - typedef SQLRETURN (SQL_API *T3SQLDescribeParam) (SQLHSTMT StatementHandle, SQLUSMALLINT ParameterNumber, SQLSMALLINT * DataTypePtr, |