diff options
author | unknown <monty@hundin.mysql.fi> | 2002-06-28 15:06:04 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-06-28 15:06:04 +0300 |
commit | f238f58769a308bcf74e1e1c12655829c14c50ca (patch) | |
tree | 50f891adc2032af8c95592f9869e2a78f3cc778f /myisam | |
parent | d7a84c7af0e1eb166c48ce7a7c3e3dca83f43baf (diff) | |
download | mariadb-git-f238f58769a308bcf74e1e1c12655829c14c50ca.tar.gz |
Fixed bug in REPAIR table.
Portability fix in safemalloc.c
libmysqld/lib_sql.cc:
Removed not needed define
myisam/sort.c:
Fixed core dump crash in repair table.
mysql-test/r/myisam.result:
Test for repair table
mysql-test/t/myisam.test:
Test for repair table
mysys/safemalloc.c:
Portability fix
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/sort.c b/myisam/sort.c index 323983b05f8..65b606f7a68 100644 --- a/myisam/sort.c +++ b/myisam/sort.c @@ -701,7 +701,7 @@ merge_buffers(MI_SORT_PARAM *info, uint keys, IO_CACHE *from_file, if (init_queue(&queue,(uint) (Tb-Fb)+1,offsetof(BUFFPEK,key),0, (int (*)(void*, byte *,byte*)) info->key_cmp, - (void*) info->sort_info)) + (void*) info)) DBUG_RETURN(1); /* purecov: inspected */ for (buffpek= Fb ; buffpek <= Tb ; buffpek++) |