Permalink
Browse files

#2636: Fix display of indexes against geometry columns.

  • Loading branch information...
stuconnolly committed Oct 3, 2018
1 parent 2710611 commit 60dfbd3d598bfaa7c036deb764b099e41b24701d
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/SPTableStructure.m
@@ -1534,7 +1534,7 @@ - (void)loadTable:(NSString *)aTable
}
else {
if ([[field objectForKey:@"typegrouping"] isEqualToString:@"geometry"] &&
[[index objectForKey:@"Index_type"] isEqualToString:@"SPATIAL"]
[[index objectForKey:@"Index_type"] isEqualToString:@"SPATIAL"] &&
![field objectForKey:@"Key"]) {
[field setObject:@"SPA" forKey:@"Key"];
}

0 comments on commit 60dfbd3

Please sign in to comment.