Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f86c44ff
Commit
f86c44ff
authored
Jun 07, 2005
by
reggie@mdk10.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1
into mdk10.(none):/home/reggie/bk/41test3
parents
b95c7afc
db81ebec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sql/sql_acl.cc
sql/sql_acl.cc
+5
-5
No files found.
sql/sql_acl.cc
View file @
f86c44ff
...
@@ -198,7 +198,7 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
...
@@ -198,7 +198,7 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
ACL_HOST
host
;
ACL_HOST
host
;
update_hostname
(
&
host
.
host
,
get_field
(
&
mem
,
table
->
field
[
0
]));
update_hostname
(
&
host
.
host
,
get_field
(
&
mem
,
table
->
field
[
0
]));
host
.
db
=
get_field
(
&
mem
,
table
->
field
[
1
]);
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,
We make a temporary copy of the database, force it to lower case,
...
@@ -222,7 +222,7 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
...
@@ -222,7 +222,7 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
{
{
sql_print_warning
(
"'host' entry '%s|%s' "
sql_print_warning
(
"'host' entry '%s|%s' "
"ignored in --skip-name-resolve mode."
,
"ignored in --skip-name-resolve mode."
,
host
.
host
.
hostname
,
host
.
db
,
host
.
host
.
hostname
);
host
.
host
.
hostname
,
host
.
db
?
host
.
db
:
""
);
continue
;
continue
;
}
}
#ifndef TO_BE_REMOVED
#ifndef TO_BE_REMOVED
...
@@ -290,7 +290,7 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
...
@@ -290,7 +290,7 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
{
{
sql_print_warning
(
"'user' entry '%s@%s' "
sql_print_warning
(
"'user' entry '%s@%s' "
"ignored in --skip-name-resolve mode."
,
"ignored in --skip-name-resolve mode."
,
user
.
user
,
user
.
host
.
hostname
,
user
.
host
.
hostname
);
user
.
user
,
user
.
host
.
hostname
);
continue
;
continue
;
}
}
...
@@ -393,7 +393,7 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
...
@@ -393,7 +393,7 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
{
{
sql_print_warning
(
"'db' entry '%s %s@%s' "
sql_print_warning
(
"'db' entry '%s %s@%s' "
"ignored in --skip-name-resolve mode."
,
"ignored in --skip-name-resolve mode."
,
db
.
db
,
db
.
user
,
db
.
host
.
hostname
,
db
.
host
.
hostname
);
db
.
db
,
db
.
user
,
db
.
host
.
hostname
);
continue
;
continue
;
}
}
db
.
access
=
get_access
(
table
,
3
);
db
.
access
=
get_access
(
table
,
3
);
...
@@ -2690,7 +2690,7 @@ my_bool grant_init(THD *org_thd)
...
@@ -2690,7 +2690,7 @@ my_bool grant_init(THD *org_thd)
sql_print_warning
(
"'tables_priv' entry '%s %s@%s' "
sql_print_warning
(
"'tables_priv' entry '%s %s@%s' "
"ignored in --skip-name-resolve mode."
,
"ignored in --skip-name-resolve mode."
,
mem_check
->
tname
,
mem_check
->
user
,
mem_check
->
tname
,
mem_check
->
user
,
mem_check
->
host
,
mem_check
->
host
);
mem_check
->
host
);
continue
;
continue
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment