diff options
author | unknown <monty@mysql.com/nosik.monty.fi> | 2006-11-23 16:41:21 +0200 |
---|---|---|
committer | unknown <monty@mysql.com/nosik.monty.fi> | 2006-11-23 16:41:21 +0200 |
commit | 42f6fd5f547324c3e714c76fbe5ec92cfad4043e (patch) | |
tree | 75b8f62d460df66d009c602ab6c9365033d994fe /client | |
parent | 886965303155d1c2fbd90e3606fd192d4ba7741b (diff) | |
download | mariadb-git-42f6fd5f547324c3e714c76fbe5ec92cfad4043e.tar.gz |
Added some missing DBUG_RETURN
Fixed that --valgrind works again with mysql-test-run.sh
Extended error messages when loosing connection during mysql_real_connect()
client/mysqldump.c:
Added some missing DBUG_RETURN
include/errmsg.h:
Extended error messages when loosing connection during mysql_real_connect()
libmysql/errmsg.c:
Extended error messages when loosing connection during mysql_real_connect()
mysql-test/mysql-test-run.pl:
Don't remove .reject files at startup
mysql-test/mysql-test-run.sh:
Fixed that --valgrind works again
Don't give warnings for directores in var/tmp
sql-common/client.c:
Extended error messages when loosing connection during mysql_real_connect()
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqldump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index b44c3944f41..2be60b2df9a 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -2203,7 +2203,7 @@ static void dump_table(char *table, char *db) The "table" could be a view. If so, we don't do anything here. */ if (strcmp (table_type, "VIEW") == 0) - return; + DBUG_VOID_RETURN; /* Check --no-data flag */ if (opt_no_data) @@ -2869,7 +2869,7 @@ static int dump_all_tables_in_db(char *database) *afterdot++= '.'; if (init_dumping(database, init_dumping_tables)) - return 1; + DBUG_RETURN(1); if (opt_xml) print_xml_tag(md_result_file, "", "\n", "database", "name=", database, NullS); if (lock_tables) @@ -2923,7 +2923,7 @@ static int dump_all_tables_in_db(char *database) fprintf(md_result_file,"\n--\n-- Flush Grant Tables \n--\n"); fprintf(md_result_file,"\n/*! FLUSH PRIVILEGES */;\n"); } - return 0; + DBUG_RETURN(0); } /* dump_all_tables_in_db */ |