Commits

Tuukka Norri committed 5a1b0ae

Fixed bugs introduced in the last commit
- I'd really like those things that would check for NULL in the end of variable argument list.
- Also made the update method in BXPGInterface actually return something.

Comments (0)

Files changed (1)

Framework/Sources/PGTSModificationNotifier.m

         backendPID = [NSNumber numberWithInt: [connection backendPID]];
     
     NSString* query = [NSString stringWithFormat: @"SELECT * FROM %@ ($1::timestamp, $2)", modificationTableName];
-	NSArray* parameters = [NSArray arrayWithObjects: [self lastCheckForTable: modificationTableName], backendPID];
+	NSArray* parameters = [NSArray arrayWithObjects: [self lastCheckForTable: modificationTableName], backendPID, nil];
 	PGTSResultSet* res = [self checkModificationsInTableNamed: modificationTableName
 														query: query 
 												   parameters: parameters];