Permalink
Browse files

'fixed' fmdb's resultSet dictionary creator -- no longer changes case

  • Loading branch information...
grosshei committed Apr 24, 2011
1 parent b4bcbd9 commit a4bcee17d397c37493cd28bf31ffcde1b7c97eb1
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/FMResultSet.m
View
@@ -63,7 +63,7 @@ - (void)setupColumnNames {
int columnIdx = 0;
for (columnIdx = 0; columnIdx < columnCount; columnIdx++) {
[columnNameToIndexMap setObject:[NSNumber numberWithInt:columnIdx]
- forKey:[[NSString stringWithUTF8String:sqlite3_column_name(statement.statement, columnIdx)] lowercaseString]];
+ forKey:[NSString stringWithUTF8String:sqlite3_column_name(statement.statement, columnIdx)] ];
}
columnNamesSetup = YES;
}
@@ -180,7 +180,7 @@ - (int)columnIndexForName:(NSString*)columnName {
[self setupColumnNames];
}
- columnName = [columnName lowercaseString];
+ // columnName = [columnName lowercaseString];
NSNumber *n = [columnNameToIndexMap objectForKey:columnName];

0 comments on commit a4bcee1

Please sign in to comment.