fix error in last update

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@38464 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-04-28 15:32:21 +00:00
parent 17ce0ccf78
commit fe1d368d66

View file

@ -827,7 +827,7 @@ static unsigned int trim(char *str)
record = [rtype newWithValues: values record = [rtype newWithValues: values
keys: keys keys: keys
count: fieldCount]; count: fieldCount];
if (0 == i) if (0 == i && [record respondsToSelector: @selector(keys)])
{ {
k = [record keys]; k = [record keys];
} }