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
ae3536fe
Commit
ae3536fe
authored
Aug 06, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings.
parent
e10a4156
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
client/mysqldump.c
client/mysqldump.c
+5
-4
No files found.
client/mysqldump.c
View file @
ae3536fe
...
...
@@ -2072,11 +2072,12 @@ static uint dump_routines_for_db(char *db)
}
else
if
(
strlen
(
row
[
2
]))
{
char
*
query_str
;
if
(
opt_drop
)
fprintf
(
sql_file
,
"/*!50003 DROP %s IF EXISTS %s */;
\n
"
,
routine_type
[
i
],
routine_name
);
char
*
query_str
=
cover_definer_clause_in_sp
(
row
[
2
],
strlen
(
row
[
2
]));
query_str
=
cover_definer_clause_in_sp
(
row
[
2
],
strlen
(
row
[
2
]));
if
(
mysql_num_fields
(
routine_res
)
>=
6
)
{
...
...
@@ -2705,10 +2706,10 @@ static void dump_trigger_old(MYSQL_RES *show_triggers_rs,
accessing it.
*/
uin
t
user_name_len
;
size_
t
user_name_len
;
char
user_name_str
[
USERNAME_LENGTH
+
1
];
char
quoted_user_name_str
[
USERNAME_LENGTH
*
2
+
3
];
uin
t
host_name_len
;
size_
t
host_name_len
;
char
host_name_str
[
HOSTNAME_LENGTH
+
1
];
char
quoted_host_name_str
[
HOSTNAME_LENGTH
*
2
+
3
];
...
...
@@ -3893,7 +3894,7 @@ static int init_dumping(char *database, int init_func(char*))
/* Return 1 if we should copy the table */
my_bool
include_table
(
u
char
*
hash_key
,
uint
len
)
my_bool
include_table
(
const
char
*
hash_key
,
uint
len
)
{
return
!
hash_search
(
&
ignore_table
,
(
uchar
*
)
hash_key
,
len
);
}
...
...
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