View previous topic :: View next topic |
Author |
Message |
davidl
Joined: 17 Aug 2006 Posts: 27
|
Posted: Tue Oct 31, 2006 11:40 pm Post subject: simple modification to make dbi case insensitive |
|
|
in row.d
add an import
import std.string;
line 80:
char[] get (int idx) {
return fieldValues[tolower(idx)];
}
line 157:
void addField (char[] name, char[] value, char[] decl, int type) {
fieldNames ~= tolower(name).dup; |
|
Back to top |
|
|
davidl
Joined: 17 Aug 2006 Posts: 27
|
Posted: Tue Oct 31, 2006 11:51 pm Post subject: |
|
|
i made a mistake :p
the first hacking should be this line 93 :
char[] get (char[] name) {
return fieldValues[getFieldIndex(tolower(name))];
} |
|
Back to top |
|
|
jpelcis
Joined: 09 Mar 2006 Posts: 40
|
Posted: Thu Nov 09, 2006 5:40 pm Post subject: |
|
|
Thank you for looking, but there won't be any changes to Row.d until the new version is in place with 0.3.0. |
|
Back to top |
|
|
|