mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
3f18c6bc47
mysqldump didn't properly handle getting no data on SHOW CREATE PROCEDURE. If S/C/P fails (due to dumping user's insufficient privileges on mysql.proc, say), mysqldump will print a comment to that effect to the output and return an error-code. If the -f (force) option is used, the dump will continue, otherwise, it will abort right there and then. Also fixes Bug#22761, "mysqldump reports no errors when using --routines without mysql.proc privileges" --- Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint into mysql.com:/home/tnurnberg/27293/50-27293 client/mysqldump.c: Bug#27293: mysqldump crashes when dumping procedure defined by different user handle failure of SHOW CREATE PROCEDURE, give user diagnostics, heed -f (force) option mysql-test/r/mysqldump.result: Bug#27293: mysqldump crashes when dumping procedure defined by different user show that trying to mysqldump --routines with insufficient privileges will no longer crash the client --- manual merge mysql-test/t/mysqldump.test: Bug#27293: mysqldump crashes when dumping procedure defined by different user show that trying to mysqldump --routines with insufficient privileges will no longer crash the client --- manual merge |
||
---|---|---|
.. | ||
.cvsignore | ||
client_priv.h | ||
CMakeLists.txt | ||
completion_hash.cc | ||
completion_hash.h | ||
echo.c | ||
get_password.c | ||
Makefile.am | ||
my_readline.h | ||
mysql.cc | ||
mysql_upgrade.c | ||
mysqladmin.cc | ||
mysqlbinlog.cc | ||
mysqlcheck.c | ||
mysqldump.c | ||
mysqlimport.c | ||
mysqlmanager-pwgen.c | ||
mysqlmanagerc.c | ||
mysqlshow.c | ||
mysqltest.c | ||
readline.cc | ||
sql_string.cc | ||
sql_string.h |