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 /Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.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 'Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m')
-rw-r--r-- | Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m index 5883bdc2..7822d896 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m @@ -27,6 +27,7 @@ #import "MCPConnection.h" #import "MCPNull.h" #import "MCPNumber.h" +#import "MCPGeometryData.h" /** * IMPORTANT NOTE @@ -321,7 +322,7 @@ void _bytes2bin(Byte *n, NSUInteger nbytes, NSUInteger len, char *buf); break; case FIELD_TYPE_GEOMETRY: - cellData = [NSData dataWithBytes:theData length:fieldLengths[i]]; + cellData = [MCPGeometryData dataWithData:[NSData dataWithBytes:theData length:fieldLengths[i]]]; break; default: |