aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataStorage.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2013-08-14 20:08:10 +0000
committerrowanbeentje <rowan@beent.je>2013-08-14 20:08:10 +0000
commit046c3596722a52f6f4562ca99da4e95b1681d45c (patch)
tree0a372cf01b76a75cf3622673ee2a5e6e18886ed0 /Source/SPDataStorage.m
parente852b017bef440b63c4cbaf55675afec2d761073 (diff)
downloadsequelpro-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.m2
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