Bug #21419 test case lowercase_fs_off fails on Windows
Submitted: 2 Aug 2006 18:20 Modified: 4 Aug 2006 14:56
Reporter: Konstantin Osipov (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Charsets Severity:S3 (Non-critical)
Version:4.1, 5.0, 5.1 OS:
Assigned to: Magnus Blåudd CPU Architecture:Any

[2 Aug 2006 18:20] Konstantin Osipov
Description:
Test case lowercase_fs_off fails on Windows and thus breaks pushbuild there.
See pushbuild status page for 5.0 tree for details.
See also Bug#21139 "Handling of databases differs in "embedded", test "lowercase_fs_off" fails"
P1 as I will disable the test case now in 5.0.
Please fix disabled.def once you fixed this bug.
Assigning to Bar as this was added by him as far as I can tell. Please unassign if I'm wrong.

How to repeat:
See pushbuild page.
[3 Aug 2006 7:25] Magnus Blåudd
Stealing, since I have fixed this in mysql-5.0-maint
[3 Aug 2006 7:29] Magnus Blåudd
diff -Nru a/sql/mysqld.cc b/sql/mysqld.cc
--- a/sql/mysqld.cc	2006-07-31 13:19:25 +02:00
+++ b/sql/mysqld.cc	2006-07-31 13:19:25 +02:00
@@ -2770,6 +2770,11 @@
 			mysql_real_data_home);
     lower_case_table_names= 0;
   }
+  else
+  {
+    lower_case_file_system=
+      (test_if_case_insensitive(mysql_real_data_home) == 1);
+  }
 
   /* Reset table_alias_charset, now that lower_case_table_names is set. */
   table_alias_charset= (lower_case_table_names ?
[3 Aug 2006 10:16] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10001

ChangeSet@1.2537, 2006-08-03 12:16:24+02:00, msvensson@neptunus.(none) +1 -0
  Bug#21419 test case lowercase_fs_off fails on Windows
   - Backport patch from 5.0
[3 Aug 2006 10:45] Magnus Blåudd
Pushed to 4.1.22
[4 Aug 2006 14:56] Paul DuBois
No changelog entry needed.
[10 Aug 2006 14:56] Chad MILLER
Added to 5.0.25 .