mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 09:40:59 +00:00
* EOAdaptors/SQLiteAdaptor/SQLiteChannel.m: Handle a null number
value as the string "0". git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26228 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e35a70da43
commit
f1983f243d
2 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,9 @@
|
|||
* EOAccess/EORelationship.h/m: Remove setCreateMutableObjects: and
|
||||
createsMutableObjects.
|
||||
|
||||
* EOAdaptors/SQLiteAdaptor/SQLiteChannel.m: Handle a null number
|
||||
value as the string "0".
|
||||
|
||||
2008-03-06 David Ayers <ayers@fsfe.org>
|
||||
|
||||
* EOControl/EOFault.m ([-forward::]): Make dummy implementation.
|
||||
|
|
|
@ -324,6 +324,8 @@ static id newNumberValue(const char *data, EOAttribute *attrib)
|
|||
{
|
||||
const char *text;
|
||||
text = (const char*)sqlite3_column_text(_currentStmt, i);
|
||||
if (text == NULL) text = "0";
|
||||
|
||||
values[i] = newNumberValue(text, attr);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue