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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
057ab256
Commit
057ab256
authored
Aug 06, 2007
by
kostja@bodhi.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings.
parent
0c4d8e00
Changes
1
Show 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 @
057ab256
...
@@ -2072,11 +2072,12 @@ static uint dump_routines_for_db(char *db)
...
@@ -2072,11 +2072,12 @@ static uint dump_routines_for_db(char *db)
}
}
else
if
(
strlen
(
row
[
2
]))
else
if
(
strlen
(
row
[
2
]))
{
{
char
*
query_str
;
if
(
opt_drop
)
if
(
opt_drop
)
fprintf
(
sql_file
,
"/*!50003 DROP %s IF EXISTS %s */;
\n
"
,
fprintf
(
sql_file
,
"/*!50003 DROP %s IF EXISTS %s */;
\n
"
,
routine_type
[
i
],
routine_name
);
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
)
if
(
mysql_num_fields
(
routine_res
)
>=
6
)
{
{
...
@@ -2705,10 +2706,10 @@ static void dump_trigger_old(MYSQL_RES *show_triggers_rs,
...
@@ -2705,10 +2706,10 @@ static void dump_trigger_old(MYSQL_RES *show_triggers_rs,
accessing it.
accessing it.
*/
*/
uin
t
user_name_len
;
size_
t
user_name_len
;
char
user_name_str
[
USERNAME_LENGTH
+
1
];
char
user_name_str
[
USERNAME_LENGTH
+
1
];
char
quoted_user_name_str
[
USERNAME_LENGTH
*
2
+
3
];
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
host_name_str
[
HOSTNAME_LENGTH
+
1
];
char
quoted_host_name_str
[
HOSTNAME_LENGTH
*
2
+
3
];
char
quoted_host_name_str
[
HOSTNAME_LENGTH
*
2
+
3
];
...
@@ -3893,7 +3894,7 @@ static int init_dumping(char *database, int init_func(char*))
...
@@ -3893,7 +3894,7 @@ static int init_dumping(char *database, int init_func(char*))
/* Return 1 if we should copy the table */
/* 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
);
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