Below is the list of changes that have just been committed into a local
4.1 repository of reggie. When reggie does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2154 05/03/31 08:37:18 reggie@mdk10.(none) +1 -0
Bug #9175 seg fault on 'mysqldump --single-transaction --tab mysql nonexistent'
mysqldump.c:
Fixed get_actual_table_name so that it calls mysql_free_result in all cases that a
non-NULl result is returned
client/mysqldump.c
1.185 05/03/31 08:34:07 reggie@mdk10.(none) +4 -3
Fixed get_actual_table_name so that it calls mysql_free_result in all cases that a
non-NULl result is returned
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: reggie
# Host: mdk10.(none)
# Root: /home/reggie/bk/mysql-4.1
--- 1.184/client/mysqldump.c 2005-03-28 13:05:09 -06:00
+++ 1.185/client/mysqldump.c 2005-03-31 08:34:07 -06:00
@@ -2120,6 +2120,7 @@
char *new_table_name,
int buf_size)
{
+ int retval;
MYSQL_RES *tableRes;
MYSQL_ROW row;
char query[50 + 2*NAME_LEN];
@@ -2137,6 +2138,7 @@
}
tableRes= mysql_store_result( sock );
+ retval = 1;
if (tableRes != NULL)
{
my_ulonglong numRows = mysql_num_rows(tableRes);
@@ -2144,12 +2146,11 @@
{
row= mysql_fetch_row( tableRes );
strmake(new_table_name, row[0], buf_size-1);
- return 0;
+ retval = 0;
}
mysql_free_result(tableRes);
- return 1;
}
- return 1;
+ return retval;
}
| Thread |
|---|
| • bk commit into 4.1 tree (reggie:1.2154) BUG#9175 | reggie | 31 Mar |