diff options
Diffstat (limited to 'Frameworks/PostgresKit/Source/PGPostgresConnection.m')
-rw-r--r-- | Frameworks/PostgresKit/Source/PGPostgresConnection.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Frameworks/PostgresKit/Source/PGPostgresConnection.m b/Frameworks/PostgresKit/Source/PGPostgresConnection.m index 920fc626..600be9a0 100644 --- a/Frameworks/PostgresKit/Source/PGPostgresConnection.m +++ b/Frameworks/PostgresKit/Source/PGPostgresConnection.m @@ -65,6 +65,7 @@ static void _PGPostgresConnectionNoticeProcessor(void *arg, const char *message) @synthesize stringEncoding = _stringEncoding; @synthesize parameters = _parameters; @synthesize applicationName = _applicationName; +@synthesize lastQueryAffectedRowCount = _lastQueryAffectedRowCount; #pragma mark - #pragma mark Initialisation @@ -93,6 +94,8 @@ static void _PGPostgresConnectionNoticeProcessor(void *arg, const char *message) _useKeepAlive = YES; _keepAliveInterval = PGPostgresConnectionDefaultKeepAlive; + _lastQueryAffectedRowCount = 0; + _lastError = nil; _connection = nil; _connectionError = nil; |