summaryrefslogtreecommitdiff
path: root/storage/myisam/myisamchk.c
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2008-08-23 07:47:43 +0500
committerAlexey Botchkov <holyfoot@mysql.com>2008-08-23 07:47:43 +0500
commit491dc13898e37c04f02906554d29e4449515381c (patch)
treeee21c0f34bb510966b5ed546cb41503309d9220a /storage/myisam/myisamchk.c
parent099a80d05a03f80a7310769f2b7b13f875ef24f9 (diff)
parentec524d50a86b6fb75dc3dc5704fbed34568aa35c (diff)
downloadmariadb-git-491dc13898e37c04f02906554d29e4449515381c.tar.gz
merging
Diffstat (limited to 'storage/myisam/myisamchk.c')
-rw-r--r--storage/myisam/myisamchk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/myisamchk.c b/storage/myisam/myisamchk.c
index 33c201d5c49..f8fcdcb6fab 100644
--- a/storage/myisam/myisamchk.c
+++ b/storage/myisam/myisamchk.c
@@ -1033,7 +1033,7 @@ static int myisamchk(MI_CHECK *param, char * filename)
error|=change_to_newfile(filename,MI_NAME_DEXT,DATA_TMP_EXT,
raid_chunks,
MYF(0));
- if (mi_open_datafile(info,info->s, -1))
+ if (mi_open_datafile(info,info->s, NULL, -1))
error=1;
param->out_flag&= ~O_NEW_DATA; /* We are using new datafile */
param->read_cache.file=info->dfile;