diff options
author | Tatiana A. Nurnberg <azundris@mysql.com> | 2009-05-27 15:16:21 +0200 |
---|---|---|
committer | Tatiana A. Nurnberg <azundris@mysql.com> | 2009-05-27 15:16:21 +0200 |
commit | 7f50fc02c2893a2ca4751518fccc34357be95821 (patch) | |
tree | 101e7a3d76472458bf76b3d07827d37b0b6dfb74 /sql/sql_update.cc | |
parent | d7d3c56aee10e81cc847ab8f949f40398e1a752c (diff) | |
download | mariadb-git-7f50fc02c2893a2ca4751518fccc34357be95821.tar.gz |
Bug#34861: mysqldump with --tab gives weird output for triggers.
mysqldump --tab still dumped triggers to stdout rather than to
individual tables.
We now append triggers to the .sql file for the corresponding
table.
--events and --routines correspond to a database rather than a
table and will still go to stdout with --tab unless redirected
with --result-file (-r).
client/mysqldump.c:
Extend open_sql_file_for_table() so we can open-append.
Change dump_triggers_for_table() so it will append its
output to the table's .sql-file when --tab is used.
mysql-test/r/mysqldump.result:
Show that when using --tab, triggers now end up in the .sql
file with the corresponding table (after that table), while
--routines and --events go to stdout or --result-file.
mysql-test/t/mysqldump.test:
Show that when using --tab, triggers now end up in the .sql
file with the corresponding table (after that table), while
--routines and --events go to stdout or --result-file.
Diffstat (limited to 'sql/sql_update.cc')
0 files changed, 0 insertions, 0 deletions