From: Vadim Tkachenko Date: December 19 2005 7:51am Subject: bk commit into 5.1 tree (vtkachenko:1.1980) BUG#15843 List-Archive: http://lists.mysql.com/commits/237 X-Bug: 15843 Message-Id: <200512190751.jBJ7pVQi011614@quadxeon.mysql.com> Below is the list of changes that have just been committed into a local 5.1 repository of vtkachenko. When vtkachenko 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.1980 05/12/19 08:51:22 vtkachenko@stripped +1 -0 mi_dynrec.c: fix for bug #15843 storage/myisam/mi_dynrec.c 1.42 05/12/19 08:50:32 vtkachenko@stripped +7 -0 fix for bug #15843 # 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: vtkachenko # Host: quadxeon.mysql.com # Root: /benchmarks/ext3/BUILDS/mysql-5.1-new2 --- 1.41/storage/myisam/mi_dynrec.c 2005-12-01 13:34:09 +01:00 +++ 1.42/storage/myisam/mi_dynrec.c 2005-12-19 08:50:32 +01:00 @@ -64,6 +64,13 @@ 1 error. */ +#ifndef MAP_NORESERVE +#define MAP_NORESERVE 0 /* For irix and AIX */ +#endif +#ifndef MAP_FAILED +#define MAP_FAILED -1 +#endif + my_bool mi_dynmap_file(MI_INFO *info, my_off_t size) { DBUG_ENTER("mi_dynmap_file");