Commit 6e04b4b2 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

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

parent f1861395
......@@ -288,7 +288,7 @@ SPI_fnumber(TupleDesc tupdesc, char *fname)
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);
}
......
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