mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-05-31 17:31:02 +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
04d6bb3aac
commit
492886f6a3
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>
|
2014-04-26 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||||
* EOAccess/EOAdaptorChannel.m
|
* EOAccess/EOAdaptorChannel.m
|
||||||
call delegate -adaptorChannel:willPerformOperations:
|
call delegate -adaptorChannel:willPerformOperations:
|
||||||
|
|
|
@ -263,6 +263,13 @@ newValueForNumberTypeLengthAttribute(const void *bytes,
|
||||||
|
|
||||||
RELEASE(str);
|
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
|
else
|
||||||
{
|
{
|
||||||
char valueTypeChar = '\0';
|
char valueTypeChar = '\0';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue