Below is the list of changes that have just been committed into a local
5.1 repository of tim. When tim 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@stripped, 2006-09-14 14:59:14-06:00, tsmith@stripped +1 -0
Post-merge fix: remove dup() call in ha_archive.cc which resulted in a memory leak.
storage/archive/ha_archive.cc@stripped, 2006-09-14 14:59:11-06:00, tsmith@stripped +1 -1
Remove dup() call from azdopen(&archive, create_file, ...), as it resulted in a memory leak.
# 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: tsmith
# Host: siva.hindu.god
# Root: /usr/home/tim/m/bk/51
--- 1.101/storage/archive/ha_archive.cc 2006-09-14 14:59:22 -06:00
+++ 1.102/storage/archive/ha_archive.cc 2006-09-14 14:59:22 -06:00
@@ -728,7 +728,7 @@ int ha_archive::create(const char *name,
goto error;
}
}
- if (!azdopen(&archive, dup(create_file), O_WRONLY|O_BINARY))
+ if (!azdopen(&archive, create_file, O_WRONLY|O_BINARY))
{
error= errno;
goto error2;
| Thread |
|---|
| • bk commit into 5.1 tree (tsmith:1.2323) | tim | 14 Sep |