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
78d5f495
Commit
78d5f495
authored
Aug 06, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing ddl_i18n* tests in the team tree.
parent
35dbd685
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
client/mysqldump.c
client/mysqldump.c
+7
-7
No files found.
client/mysqldump.c
View file @
78d5f495
...
...
@@ -2121,7 +2121,7 @@ static uint dump_routines_for_db(char *db)
restore_sql_mode
(
sql_file
,
";"
);
if
(
mysql_num_fields
(
routine_res
)
>
3
)
if
(
mysql_num_fields
(
routine_res
)
>
=
6
)
{
restore_cs_variables
(
sql_file
,
";"
);
...
...
@@ -2819,6 +2819,9 @@ static int dump_triggers_for_table(char *table_name, char *db_name)
/* Get database collation. */
if
(
switch_character_set_results
(
mysql
,
"binary"
))
DBUG_RETURN
(
TRUE
);
if
(
fetch_db_collation
(
db_name
,
db_cl_name
,
sizeof
(
db_cl_name
)))
DBUG_RETURN
(
TRUE
);
...
...
@@ -2831,9 +2834,6 @@ static int dump_triggers_for_table(char *table_name, char *db_name)
if
(
mysql_query_with_error_report
(
mysql
,
&
show_triggers_rs
,
query_buff
))
DBUG_RETURN
(
TRUE
);
if
(
mysql_num_rows
(
show_triggers_rs
))
fprintf
(
sql_file
,
"
\n
"
);
/* Dump triggers. */
while
((
row
=
mysql_fetch_row
(
show_triggers_rs
)))
...
...
@@ -2870,11 +2870,11 @@ static int dump_triggers_for_table(char *table_name, char *db_name)
}
if
(
mysql_num_rows
(
show_triggers_rs
))
fprintf
(
sql_file
,
"
\n
"
);
mysql_free_result
(
show_triggers_rs
);
if
(
switch_character_set_results
(
mysql
,
default_charset
))
DBUG_RETURN
(
TRUE
);
/*
make sure to set back opt_compatible mode to
original value
...
...
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