psqlodbc.git / summary / log / commit / refs

commit    986714d9985e6be5933003900a67ede8667dbfd4
Author:   Hiroshi Inoue <h-inoue@dream.email.ne.jp>
Date:     Mon Apr 29 11:19:44 2019 +0000

    Correct the rgbInfoValue returned by SQLGetInfo(SQL_LIKE_ESCAPE_CLAUSE, ..).
    Pointed out by Grant Shirreffs.


info.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/info.c b/info.c index 3090723b..97f77f52 100644 --- 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 */ [parent: 980e164a102d]