summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <reggie@mdk10.(none)>2005-05-31 06:07:44 -0500
committerunknown <reggie@mdk10.(none)>2005-05-31 06:07:44 -0500
commit6474d274120ecf8223dfdc6bf8d3b76aebecd628 (patch)
treeb26612e52535de425b83960f00d58782b741bf98 /sql
parent7b4385f4725f99ed5115b0f89174fc358498cfe0 (diff)
parentac55fc7adb32a1766aae6953895e4ffe7d99474b (diff)
downloadmariadb-git-6474d274120ecf8223dfdc6bf8d3b76aebecd628.tar.gz
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1
into mdk10.(none):/home/reggie/bk/41test3
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_acl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 02da05d195f..ae360fab019 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -198,7 +198,7 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
ACL_HOST host;
update_hostname(&host.host,get_field(&mem, table->field[0]));
host.db= get_field(&mem, table->field[1]);
- if (lower_case_table_names)
+ if (lower_case_table_names && host.db)
{
/*
We make a temporary copy of the database, force it to lower case,