* EOAdaptors/SQLiteAdaptor/SQLite3Channel.m

CHAR is NSString, not NSNumber, makes the DataBrowser
          show strings


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36427 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sebastian Reitenbach 2013-03-25 12:27:30 +00:00
parent e38bd61cb2
commit 8102a99367
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-03-25: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* EOAdaptors/SQLiteAdaptor/SQLite3Channel.m
CHAR is NSString, not NSNumber, makes the DataBrowser
show strings
2013-03-24: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* EOAccess/EOAdaptorChannel.m
the subclasses are responsible for describeModelWithTableNames

View file

@ -363,7 +363,7 @@ static id newNumberValue(const char *data, EOAttribute *attrib)
externalType = [NSString stringWithFormat:@"%s", results[count]];
if ([externalType hasPrefix:@"CHAR"] == YES)
{
valueClass = @"NSNumber", valueType = @"c";
valueClass = @"NSString", valueType = @"c";
}
else if ([externalType hasPrefix:@"BOOL"] == YES)
{