OSDN Git Service
(root)
/
pghintplan
/
pg_hint_plan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04011fe
)
Use pg_strcasecmp instead of strcasecmp for the sake of portability
author
Kyotaro Horiguchi
<horiguchi.kyotaro@lab.ntt.co.jp>
Mon, 6 Nov 2017 05:01:27 +0000
(14:01 +0900)
committer
Kyotaro Horiguchi
<horiguchi.kyotaro@lab.ntt.co.jp>
Mon, 6 Nov 2017 05:01:27 +0000
(14:01 +0900)
pg_hint_plan.c
patch
|
blob
|
history
diff --git
a/pg_hint_plan.c
b/pg_hint_plan.c
index
fa08ed3
..
896b50c
100644
(file)
--- a/
pg_hint_plan.c
+++ b/
pg_hint_plan.c
@@
-1511,7
+1511,7
@@
parse_hints(HintState *hstate, Query *parse, const char *str)
char *keyword = parser->keyword;
Hint *hint;
- if (strcasecmp(buf.data, keyword) != 0)
+ if (
pg_
strcasecmp(buf.data, keyword) != 0)
continue;
hint = parser->create_func(head, keyword, parser->hint_keyword);