projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
980e164
)
Correct the rgbInfoValue returned by SQLGetInfo(SQL_LIKE_ESCAPE_CLAUSE, ..).
author
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Mon, 29 Apr 2019 11:19:44 +0000
(20:19 +0900)
committer
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Mon, 29 Apr 2019 11:19:44 +0000
(20:19 +0900)
Pointed out by Grant Shirreffs.
info.c
patch
|
blob
|
blame
|
history
diff --git
a/info.c
b/info.c
index 3090723bc4e709a89323814253a5851d8e8a9461..97f77f529d4ca1bd8e3aad7b3a984f2a1205a694 100644
(file)
--- a/
info.c
+++ b/
info.c
@@
-307,12
+307,7
@@
MYLOG(0, "CONVERT_FUNCTIONS=" FORMAT_ULEN "\n", value);
break;
case SQL_LIKE_ESCAPE_CLAUSE: /* ODBC 2.0 */
-
- /*
- * is there a character that escapes '%' and '_' in a LIKE
- * clause? not as far as I can tell
- */
- p = "N";
+ p = "Y";
break;
case SQL_LOCK_TYPES: /* ODBC 2.0 */