[Libreoffice-commits] core.git: external/unixODBC
Michael Stahl
mstahl at redhat.com
Fri Jan 6 13:05:38 UTC 2017
external/unixODBC/inc/odbc/sql.h | 52 +++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 26 deletions(-)
New commits:
commit 2574757cf026cee4d45195a2f37ecde566411654
Author: Michael Stahl <mstahl at redhat.com>
Date: Fri Jan 6 12:49:42 2017 +0100
unixODBC: revert nonsensical trival change 622bb4bc
There is no point to trivial cleanups in external headers.
Change-Id: I9cb7ba135655e1426dcafd3a621ab4eaa7da1011
diff --git a/external/unixODBC/inc/odbc/sql.h b/external/unixODBC/inc/odbc/sql.h
index f426dca..6d1e160 100644
--- a/external/unixODBC/inc/odbc/sql.h
+++ b/external/unixODBC/inc/odbc/sql.h
@@ -468,12 +468,12 @@ extern "C" {
/* SQL_ALTER_TABLE bitmasks */
#if (ODBCVER >= 0x0200)
-#define SQL_AT_ADD_COLUMN 0x00000001
-#define SQL_AT_DROP_COLUMN 0x00000002
+#define SQL_AT_ADD_COLUMN 0x00000001L
+#define SQL_AT_DROP_COLUMN 0x00000002L
#endif /* ODBCVER >= 0x0200 */
#if (ODBCVER >= 0x0300)
-#define SQL_AT_ADD_CONSTRAINT 0x00000008
+#define SQL_AT_ADD_CONSTRAINT 0x00000008L
/* The following bitmasks are ODBC extensions and defined in sqlext.h
*#define SQL_AT_COLUMN_SINGLE 0x00000020L
@@ -508,16 +508,16 @@ extern "C" {
#define SQL_CB_PRESERVE 2
/* SQL_FETCH_DIRECTION bitmasks */
-#define SQL_FD_FETCH_NEXT 0x00000001
-#define SQL_FD_FETCH_FIRST 0x00000002
-#define SQL_FD_FETCH_LAST 0x00000004
-#define SQL_FD_FETCH_PRIOR 0x00000008
-#define SQL_FD_FETCH_ABSOLUTE 0x00000010
-#define SQL_FD_FETCH_RELATIVE 0x00000020
+#define SQL_FD_FETCH_NEXT 0x00000001L
+#define SQL_FD_FETCH_FIRST 0x00000002L
+#define SQL_FD_FETCH_LAST 0x00000004L
+#define SQL_FD_FETCH_PRIOR 0x00000008L
+#define SQL_FD_FETCH_ABSOLUTE 0x00000010L
+#define SQL_FD_FETCH_RELATIVE 0x00000020L
/* SQL_GETDATA_EXTENSIONS bitmasks */
-#define SQL_GD_ANY_COLUMN 0x00000001
-#define SQL_GD_ANY_ORDER 0x00000002
+#define SQL_GD_ANY_COLUMN 0x00000001L
+#define SQL_GD_ANY_ORDER 0x00000002L
/* SQL_IDENTIFIER_CASE values */
#define SQL_IC_UPPER 1
@@ -530,20 +530,20 @@ extern "C" {
#if (ODBCVER >= 0x0201)
-#define SQL_OJ_LEFT 0x00000001
-#define SQL_OJ_RIGHT 0x00000002
-#define SQL_OJ_FULL 0x00000004
-#define SQL_OJ_NESTED 0x00000008
-#define SQL_OJ_NOT_ORDERED 0x00000010
-#define SQL_OJ_INNER 0x00000020
-#define SQL_OJ_ALL_COMPARISON_OPS 0x00000040
+#define SQL_OJ_LEFT 0x00000001L
+#define SQL_OJ_RIGHT 0x00000002L
+#define SQL_OJ_FULL 0x00000004L
+#define SQL_OJ_NESTED 0x00000008L
+#define SQL_OJ_NOT_ORDERED 0x00000010L
+#define SQL_OJ_INNER 0x00000020L
+#define SQL_OJ_ALL_COMPARISON_OPS 0x00000040L
#endif
/* SQL_SCROLL_CONCURRENCY bitmasks */
-#define SQL_SCCO_READ_ONLY 0x00000001
-#define SQL_SCCO_LOCK 0x00000002
-#define SQL_SCCO_OPT_ROWVER 0x00000004
-#define SQL_SCCO_OPT_VALUES 0x00000008
+#define SQL_SCCO_READ_ONLY 0x00000001L
+#define SQL_SCCO_LOCK 0x00000002L
+#define SQL_SCCO_OPT_ROWVER 0x00000004L
+#define SQL_SCCO_OPT_VALUES 0x00000008L
/* SQL_TXN_CAPABLE values */
#define SQL_TC_NONE 0
@@ -553,13 +553,13 @@ extern "C" {
#define SQL_TC_DDL_IGNORE 4
/* SQL_TXN_ISOLATION_OPTION bitmasks */
-#define SQL_TXN_READ_UNCOMMITTED 0x00000001
+#define SQL_TXN_READ_UNCOMMITTED 0x00000001L
#define SQL_TRANSACTION_READ_UNCOMMITTED SQL_TXN_READ_UNCOMMITTED
-#define SQL_TXN_READ_COMMITTED 0x00000002
+#define SQL_TXN_READ_COMMITTED 0x00000002L
#define SQL_TRANSACTION_READ_COMMITTED SQL_TXN_READ_COMMITTED
-#define SQL_TXN_REPEATABLE_READ 0x00000004
+#define SQL_TXN_REPEATABLE_READ 0x00000004L
#define SQL_TRANSACTION_REPEATABLE_READ SQL_TXN_REPEATABLE_READ
-#define SQL_TXN_SERIALIZABLE 0x00000008
+#define SQL_TXN_SERIALIZABLE 0x00000008L
#define SQL_TRANSACTION_SERIALIZABLE SQL_TXN_SERIALIZABLE
/* SQL_NULL_COLLATION values */
More information about the Libreoffice-commits
mailing list