aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-07 14:15:07 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-07 14:15:07 +0000
commit95d2e4acc393e91aa70ed4c71daa1f776454a936 (patch)
treec0462090392ae1e252d6ddff5af5887f84dc3ce1 /Source/SPCustomQuery.m
parentb763c421f6fc2fc693ccbf89ffe38c64cd977ab8 (diff)
downloadsequelpro-95d2e4acc393e91aa70ed4c71daa1f776454a936.tar.gz
sequelpro-95d2e4acc393e91aa70ed4c71daa1f776454a936.tar.bz2
sequelpro-95d2e4acc393e91aa70ed4c71daa1f776454a936.zip
• removed approach to query spatial data by using AsText() since it breaks some column definition approaches
- instead introduced a new MCPKit class MCPGeometryData - up to now the spatial data will be displayed as hex bytes - work on it will come soon
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r--Source/SPCustomQuery.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index 5f658a1d..44ba5987 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -1847,6 +1847,9 @@
if ([theValue isNSNull])
return [prefs objectForKey:SPNullValue];
+ if ([theValue isKindOfClass:[MCPGeometryData class]])
+ return [theValue description];
+
return theValue;
}
else {