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:
cdd0824
)
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:05:21 +0000
(14:05 +0900)
committer
Kyotaro Horiguchi
<horiguchi.kyotaro@lab.ntt.co.jp>
Mon, 6 Nov 2017 05:05:21 +0000
(14:05 +0900)
pg_hint_plan.c
patch
|
blob
|
history
diff --git
a/pg_hint_plan.c
b/pg_hint_plan.c
index
fa83f2b
..
5dfb807
100644
(file)
--- a/
pg_hint_plan.c
+++ b/
pg_hint_plan.c
@@
-1520,7
+1520,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);