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
26e12a11
Commit
26e12a11
authored
Oct 12, 2010
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation warnings.
parent
c0557845
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
sql-common/client.c
sql-common/client.c
+1
-1
sql/sql_acl.cc
sql/sql_acl.cc
+1
-1
sql/sql_cache.cc
sql/sql_cache.cc
+2
-1
No files found.
sql-common/client.c
View file @
26e12a11
...
...
@@ -2923,7 +2923,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
uint
port
,
const
char
*
unix_socket
,
ulong
client_flag
)
{
char
buff
[
NAME_LEN
+
USERNAME_LENGTH
+
100
];
int
scramble_data_len
,
pkt_scramble_len
;
int
scramble_data_len
,
pkt_scramble_len
=
0
;
char
*
end
,
*
host_info
=
0
,
*
server_version_end
,
*
pkt_end
;
char
*
scramble_data
;
const
char
*
scramble_plugin
;
...
...
sql/sql_acl.cc
View file @
26e12a11
...
...
@@ -3936,7 +3936,7 @@ bool mysql_grant(THD *thd, const char *db, List <LEX_USER> &list,
ulong
rights
,
bool
revoke_grant
,
bool
is_proxy
)
{
List_iterator
<
LEX_USER
>
str_list
(
list
);
LEX_USER
*
Str
,
*
tmp_Str
,
*
proxied_user
;
LEX_USER
*
Str
,
*
tmp_Str
,
*
proxied_user
=
NULL
;
char
tmp_db
[
NAME_LEN
+
1
];
bool
create_new_users
=
0
;
TABLE_LIST
tables
[
2
];
...
...
sql/sql_cache.cc
View file @
26e12a11
...
...
@@ -412,7 +412,8 @@ struct Query_cache_wait_state
Query_cache_wait_state
(
THD
*
thd
,
const
char
*
func
,
const
char
*
file
,
unsigned
int
line
)
:
m_thd
(
thd
)
:
m_thd
(
thd
),
m_proc_info
(
NULL
)
{
if
(
m_thd
)
m_proc_info
=
set_thd_proc_info
(
m_thd
,
...
...
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