aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableData.m')
-rw-r--r--Source/SPTableData.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/SPTableData.m b/Source/SPTableData.m
index b791563b..4ed5823a 100644
--- a/Source/SPTableData.m
+++ b/Source/SPTableData.m
@@ -214,11 +214,15 @@
*/
- (BOOL) updateInformationForCurrentTable
{
- NSDictionary *tableData = [self informationForTable:[tableListInstance tableName]];
+ NSDictionary *tableData = nil;
NSDictionary *columnData;
NSEnumerator *enumerator;
- if (tableData == nil) {
+ if( [tableListInstance tableType] == SP_TABLETYPE_TABLE || [tableListInstance tableType] == SP_TABLETYPE_VIEW ) {
+ tableData = [self informationForTable:[tableListInstance tableName]];
+ }
+
+ if (tableData == nil ) {
[columns removeAllObjects];
[columnNames removeAllObjects];
return FALSE;