mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Fix some uses of str[n]casecmp that should be pg_str[n]casecmp.
This commit is contained in:
parent
a22de540cf
commit
aab964b311
@ -166,7 +166,7 @@ parse_hstore( HSParser *state ) {
|
|||||||
state->pairs[ state->pcur ].needfree = true;
|
state->pairs[ state->pcur ].needfree = true;
|
||||||
if ( state->cur - state->word == 4 && !escaped) {
|
if ( state->cur - state->word == 4 && !escaped) {
|
||||||
state->word[4] = '\0';
|
state->word[4] = '\0';
|
||||||
if ( 0==strcasecmp(state->word, "null") )
|
if ( 0==pg_strcasecmp(state->word, "null") )
|
||||||
state->pairs[ state->pcur ].isnull=true;
|
state->pairs[ state->pcur ].isnull=true;
|
||||||
}
|
}
|
||||||
state->word=NULL;
|
state->word=NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user