File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/interfaces/ecpg/preproc Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ main(int argc, char *const argv[])
251251 snprintf (informix_path , MAXPGPATH , "%s/informix/esql" , pkginclude_path );
252252 add_include_path (informix_path );
253253 }
254- else if (strncmp (optarg , "ORACLE" , strlen ( "ORACLE" ) ) == 0 )
254+ else if (pg_strcasecmp (optarg , "ORACLE" ) == 0 )
255255 {
256256 compat = ECPG_COMPAT_ORACLE ;
257257 }
@@ -262,11 +262,11 @@ main(int argc, char *const argv[])
262262 }
263263 break ;
264264 case 'r' :
265- if (strcmp (optarg , "no_indicator" ) == 0 )
265+ if (pg_strcasecmp (optarg , "no_indicator" ) == 0 )
266266 force_indicator = false;
267- else if (strcmp (optarg , "prepare" ) == 0 )
267+ else if (pg_strcasecmp (optarg , "prepare" ) == 0 )
268268 auto_prepare = true;
269- else if (strcmp (optarg , "questionmarks" ) == 0 )
269+ else if (pg_strcasecmp (optarg , "questionmarks" ) == 0 )
270270 questionmarks = true;
271271 else
272272 {
You can’t perform that action at this time.
0 commit comments