1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-03 07:02:23 +03:00
unknown af2f9b90fa Bugs#17647: Trouble with "create database"
Problem:
if a user was granted privileges on database "d1",
it also was able to act on "D1" (i.e. in upper case),
even on Unix with case sensitive file system.

Fix:
Initialize grant hash to use binary comparison
if lower_case_file_system is not set (on most unixes),
and case insensitive comparison otherwise (Windows, MacOSX).


sql/sql_acl.cc:
  Initialize hash to use binary comparison with case sensitive FS.
mysql-test/include/have_case_sensitive_file_system.inc:
  New BitKeeper file ``mysql-test/include/have_case_sensitive_file_system.inc''
  Backporting from 5.1
mysql-test/r/case_sensitive_file_system.require:
  New BitKeeper file ``mysql-test/r/case_sensitive_file_system.require''
  Backporting from 5.1
mysql-test/r/lowercase_fs_off.result:
  Adding test case
mysql-test/t/lowercase_fs_off.test:
  Adding test case
2006-05-04 11:55:09 +05:00
..
2003-08-28 06:08:17 +03:00
2005-07-06 17:16:22 +05:00
2005-05-05 10:36:17 -07:00
2003-01-28 08:38:28 +02:00
2004-06-20 19:11:02 +02:00
2005-07-22 21:06:02 +05:00
2001-10-08 07:24:04 +03:00
2005-08-18 22:27:12 +02:00
2003-03-11 13:41:53 +04:00
2003-12-25 20:11:01 +04:00
2003-05-21 21:39:58 +03:00
2005-08-18 22:27:12 +02:00
2004-12-13 21:00:43 +01:00
2005-03-30 12:14:37 +02:00