maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #01029
bzr commit into MariaDB 5.1, with Maria 1.5:maria branch (igor:2751) Bug#47455
#At lp:maria based on revid:igor@xxxxxxxxxxxx-20090918192704-0vlgzsth6r0e86zk
2751 Igor Babaev 2009-09-19
Fixed bug #47455 - a failure with main.myisam_crash_before_flush_keys.test
on Windows.
modified:
storage/myisam/myisamchk.c
=== modified file 'storage/myisam/myisamchk.c'
--- a/storage/myisam/myisamchk.c 2009-09-07 20:50:10 +0000
+++ b/storage/myisam/myisamchk.c 2009-09-19 21:21:29 +0000
@@ -83,7 +83,9 @@ HA_CHECK check_param;
int main(int argc, char **argv)
{
int error;
+ uchar rc;
MY_INIT(argv[0]);
+ my_progname_short= "myisamchk";
myisamchk_init(&check_param);
check_param.opt_lock_memory=1; /* Lock memory if possible */
@@ -132,7 +134,8 @@ int main(int argc, char **argv)
free_tmpdir(&myisamchk_tmpdir);
ft_free_stopwords();
my_end(check_param.testflag & T_INFO ? MY_CHECK_ERROR | MY_GIVE_INFO : MY_CHECK_ERROR);
- exit(error);
+ rc= (uchar) error;
+ exit(rc);
#ifndef _lint
return 0; /* No compiler warning */
#endif