fix case compare bug in where clause

This commit is contained in:
brianb
2003-01-22 00:24:27 +00:00
parent b0942cbf7d
commit c43764e93c
2 changed files with 11 additions and 1 deletions

View File

@@ -566,7 +566,7 @@ int mdb_sql_find_sargcol(MdbSargNode *node, gpointer data)
for (i=0;i<table->num_cols;i++) {
col=g_ptr_array_index(table->columns,i);
if (!strcmp(col->name, (char *)node->parent)) {
if (!strcasecmp(col->name, (char *)node->parent)) {
node->col = col;
break;
}