The commit 2e67af added a new ansi test dsn psqlodbc_test_dsn_ansi_debug. So change...
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Mon, 24 May 2021 09:20:54 +0000 (18:20 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Wed, 26 May 2021 12:35:41 +0000 (21:35 +0900)
test/src/common.c

index 4724aac598764a5878610e44987301627b24990f..076d7ff8218db4d8eb0a388c4721c09014e289c7 100644 (file)
@@ -46,7 +46,7 @@ const char *get_test_dsn(void)
 
 int IsAnsi(void)
 {
-   return (strcmp(get_test_dsn(), test_dsn_ansi) == 0);
+   return (NULL != strstr(get_test_dsn(), "_ansi"));
 }
 
 void