Commit aab964b3 authored by Tom Lane's avatar Tom Lane

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

parent a22de540
...@@ -166,7 +166,7 @@ parse_hstore( HSParser *state ) { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment