summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mysql.sml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql.sml b/src/mysql.sml
index e34efbd4..29a8c68f 100644
--- a/src/mysql.sml
+++ b/src/mysql.sml
@@ -80,7 +80,7 @@ fun checkRel (table, checkNullable) (s, xts) =
String.substring (sl, 1, size sl - 2)
else
sl
- val both = "LOWER(table_name) = ('" ^ sl ^ "')"
+ val both = "table_name = '" ^ sl ^ "'"
val q = "SELECT COUNT(*) FROM information_schema." ^ table ^ " WHERE " ^ both