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
0c4d8e00
Commit
0c4d8e00
authored
Aug 06, 2007
by
kostja@bodhi.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing ddl_i18n* tests in the team tree.
parent
c3e3a5e1
Changes
1
Show 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 @
0c4d8e00
...
@@ -2121,7 +2121,7 @@ static uint dump_routines_for_db(char *db)
...
@@ -2121,7 +2121,7 @@ static uint dump_routines_for_db(char *db)
restore_sql_mode
(
sql_file
,
";"
);
restore_sql_mode
(
sql_file
,
";"
);
if
(
mysql_num_fields
(
routine_res
)
>
3
)
if
(
mysql_num_fields
(
routine_res
)
>
=
6
)
{
{
restore_cs_variables
(
sql_file
,
";"
);
restore_cs_variables
(
sql_file
,
";"
);
...
@@ -2819,6 +2819,9 @@ static int dump_triggers_for_table(char *table_name, char *db_name)
...
@@ -2819,6 +2819,9 @@ static int dump_triggers_for_table(char *table_name, char *db_name)
/* Get database collation. */
/* 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
)))
if
(
fetch_db_collation
(
db_name
,
db_cl_name
,
sizeof
(
db_cl_name
)))
DBUG_RETURN
(
TRUE
);
DBUG_RETURN
(
TRUE
);
...
@@ -2831,9 +2834,6 @@ static int dump_triggers_for_table(char *table_name, char *db_name)
...
@@ -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
))
if
(
mysql_query_with_error_report
(
mysql
,
&
show_triggers_rs
,
query_buff
))
DBUG_RETURN
(
TRUE
);
DBUG_RETURN
(
TRUE
);
if
(
mysql_num_rows
(
show_triggers_rs
))
fprintf
(
sql_file
,
"
\n
"
);
/* Dump triggers. */
/* Dump triggers. */
while
((
row
=
mysql_fetch_row
(
show_triggers_rs
)))
while
((
row
=
mysql_fetch_row
(
show_triggers_rs
)))
...
@@ -2870,11 +2870,11 @@ static int dump_triggers_for_table(char *table_name, char *db_name)
...
@@ -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
);
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
make sure to set back opt_compatible mode to
original value
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