diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-10-07 14:15:07 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-10-07 14:15:07 +0000 |
commit | 95d2e4acc393e91aa70ed4c71daa1f776454a936 (patch) | |
tree | c0462090392ae1e252d6ddff5af5887f84dc3ce1 /Source/SPCustomQuery.m | |
parent | b763c421f6fc2fc693ccbf89ffe38c64cd977ab8 (diff) | |
download | sequelpro-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.m | 3 |
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 { |