提交 aab964b3 编写于 作者: T Tom Lane

Fix some uses of str[n]casecmp that should be pg_str[n]casecmp.

上级 a22de540
......@@ -166,7 +166,7 @@ parse_hstore( HSParser *state ) {
state->pairs[ state->pcur ].needfree = true;
if ( state->cur - state->word == 4 && !escaped) {
state->word[4] = '\0';
if ( 0==strcasecmp(state->word, "null") )
if ( 0==pg_strcasecmp(state->word, "null") )
state->pairs[ state->pcur ].isnull=true;
}
state->word=NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册