DatabaseRegion is now case-preserving and case-insensitive

This commit is contained in:
Gwendal Roué committed 2021-04-10 16:27:45 +02:00
1 parent c02901b335
commit c0a3e61253
6 files changed
+126 -52

No files matched your search

@@ -161,9 +161,7 @@ struct SQLQueryGenerator: Refinable {
return selectedRegion
}
// Database regions are case-sensitive: use the canonical table name
let canonicalTableName = try db.canonicalTableName(tableName)
return selectedRegion.tableIntersection(canonicalTableName, rowIds: rowIDs)
return selectedRegion.tableIntersection(tableName, rowIds: rowIDs)
}
/// If true, executing this query yields at most one row.