mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 10:37:54 +08:00
fix case compare bug in where clause
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user