diff options
author | rowanbeentje <rowan@beent.je> | 2013-08-14 20:08:10 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2013-08-14 20:08:10 +0000 |
commit | 046c3596722a52f6f4562ca99da4e95b1681d45c (patch) | |
tree | 0a372cf01b76a75cf3622673ee2a5e6e18886ed0 /Source/SPDataStorage.m | |
parent | e852b017bef440b63c4cbaf55675afec2d761073 (diff) | |
download | sequelpro-046c3596722a52f6f4562ca99da4e95b1681d45c.tar.gz sequelpro-046c3596722a52f6f4562ca99da4e95b1681d45c.tar.bz2 sequelpro-046c3596722a52f6f4562ca99da4e95b1681d45c.zip |
- Fix hanging waiting for new result store to return if there was a query error, addressing Issue #1783
Diffstat (limited to 'Source/SPDataStorage.m')
-rw-r--r-- | Source/SPDataStorage.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDataStorage.m b/Source/SPDataStorage.m index c2119032..698a6d59 100644 --- a/Source/SPDataStorage.m +++ b/Source/SPDataStorage.m @@ -392,7 +392,7 @@ static inline NSMutableArray* SPDataStorageGetEditedRow(NSPointerArray* rowStore */ - (BOOL) dataDownloaded { - return [dataStorage dataDownloaded]; + return !dataStorage || [dataStorage dataDownloaded]; } #pragma mark - Delegate callback methods |