Show
Ignore:
Timestamp:
06/12/09 22:19:40 (14 months ago)
Author:
tsnorri
Message:

Fixed a bug which caused a warning to be printed when NSNull was passed as a query parameter
- Added a separate implementation for getting a NULL parameter for NSNull values.
- Wrote a test for it.
- References #204.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Sources/PGTSFoundationObjects.m

    r1309 r1310  
    507507} 
    508508@end 
     509 
     510 
     511@implementation NSNull (PGTSFoundationObjects) 
     512- (const char *) PGTSParameterLength: (int *) length connection: (PGTSConnection *) connection 
     513{ 
     514        if (length) 
     515                *length = 0; 
     516        return NULL; 
     517} 
     518@end