diff options
Diffstat (limited to 'Source/CMMCPResult.m')
-rw-r--r-- | Source/CMMCPResult.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/CMMCPResult.m b/Source/CMMCPResult.m index afc7c2ed..610b6655 100644 --- a/Source/CMMCPResult.m +++ b/Source/CMMCPResult.m @@ -327,7 +327,10 @@ modified version for use with sequel-pro for (i=0; i < numFields; i++) { - NSMutableDictionary *fieldStructure = [NSMutableDictionary dictionaryWithCapacity:38]; + NSMutableDictionary *fieldStructure = [NSMutableDictionary dictionaryWithCapacity:39]; + + /* Original column position */ + [fieldStructure setObject:[NSNumber numberWithInt:i] forKey:@"datacolumnindex"]; /* Name of column */ [fieldStructure setObject:[self stringWithCString:theField[i].name] forKey:@"name"]; |