mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 12:55:44 +00:00
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m:
Handle Custom class in newValueForNumberTypeLengthAttribute() git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@37823 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c959f7c14c
commit
f4d5a358b0
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
2014-04-30 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m:
|
||||
Handle Custom class in newValueForNumberTypeLengthAttribute()
|
||||
2014-04-26 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
* EOAccess/EOAdaptorChannel.m
|
||||
call delegate -adaptorChannel:willPerformOperations:
|
||||
|
|
|
@ -263,6 +263,13 @@ newValueForNumberTypeLengthAttribute(const void *bytes,
|
|||
|
||||
RELEASE(str);
|
||||
}
|
||||
else if (valueClass && valueClass!=PSQLA_NSNumberClass)
|
||||
{
|
||||
// The value class is not a NSNumber class
|
||||
// it's probably a non standard class
|
||||
value=[[valueClass alloc] initWithCString:bytes
|
||||
length:length];
|
||||
}
|
||||
else
|
||||
{
|
||||
char valueTypeChar = '\0';
|
||||
|
|
Loading…
Reference in a new issue