summaryrefslogtreecommitdiff
path: root/packages/odbc
diff options
context:
space:
mode:
authormichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2013-06-21 09:23:40 +0000
committermichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2013-06-21 09:23:40 +0000
commit642c6a46d3a7bffe8f4045f8b9589ba8041da953 (patch)
tree63c83eada77cc562d10e057ec78db731b7bcf824 /packages/odbc
parent5bee38fbaef8e8a826e95d5ffc33a640fcc1fe67 (diff)
downloadfpc-642c6a46d3a7bffe8f4045f8b9589ba8041da953.tar.gz
* Patch from Laco to define SQL_IDENTIFIER_CASE
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24919 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/odbc')
-rw-r--r--packages/odbc/src/odbcsql.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/odbc/src/odbcsql.inc b/packages/odbc/src/odbcsql.inc
index edd0fb640c..d4185ac5b6 100644
--- a/packages/odbc/src/odbcsql.inc
+++ b/packages/odbc/src/odbcsql.inc
@@ -811,7 +811,6 @@ const
#define SQL_CURSOR_COMMIT_BEHAVIOR 23
#define SQL_DATA_SOURCE_READ_ONLY 25
#define SQL_DEFAULT_TXN_ISOLATION 26
-#define SQL_IDENTIFIER_CASE 28
#define SQL_MAX_COLUMN_NAME_LEN 30
#define SQL_MAXIMUM_COLUMN_NAME_LENGTH SQL_MAX_COLUMN_NAME_LEN
#define SQL_MAX_CURSOR_NAME_LEN 31
@@ -828,6 +827,7 @@ const
SQL_SERVER_NAME = 13;
SQL_DBMS_NAME = 17;
SQL_DBMS_VER = 18;
+ SQL_IDENTIFIER_CASE = 28;
SQL_IDENTIFIER_QUOTE_CHAR = 29;
SQL_SCROLL_CONCURRENCY = 43;
SQL_TXN_CAPABLE = 46;
@@ -928,13 +928,13 @@ const
/* SQL_GETDATA_EXTENSIONS bitmasks */
#define SQL_GD_ANY_COLUMN 0x00000001L
#define SQL_GD_ANY_ORDER 0x00000002L
-
-/* SQL_IDENTIFIER_CASE values */
-#define SQL_IC_UPPER 1
-#define SQL_IC_LOWER 2
-#define SQL_IC_SENSITIVE 3
-#define SQL_IC_MIXED 4
-
+}
+{ SQL_IDENTIFIER_CASE values }
+ SQL_IC_UPPER = 1;
+ SQL_IC_LOWER = 2;
+ SQL_IC_SENSITIVE = 3;
+ SQL_IC_MIXED = 4;
+{
/* SQL_OJ_CAPABILITIES bitmasks */
/* NB: this means 'outer join', not what you may be thinking */