Skip to content
Snippets Groups Projects
Commit 6e04b4b2 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev
Browse files

Use strcasecmp in SPI_fnumber(TupleDesc tupdesc, char *fname).

parent f1861395
No related branches found
No related tags found
No related merge requests found
...@@ -288,7 +288,7 @@ SPI_fnumber(TupleDesc tupdesc, char *fname) ...@@ -288,7 +288,7 @@ SPI_fnumber(TupleDesc tupdesc, char *fname)
for (res = 0; res < tupdesc->natts; res++) for (res = 0; res < tupdesc->natts; res++)
{ {
if (strcmp(tupdesc->attrs[res]->attname.data, fname) == 0) if (strcasecmp(tupdesc->attrs[res]->attname.data, fname) == 0)
return (res + 1); return (res + 1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment