summaryrefslogtreecommitdiff
path: root/storage/maria/maria_chk.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-02-18 15:18:35 +0100
committerSergei Golubchik <serg@mariadb.org>2017-02-27 12:35:10 +0100
commitb6862c914f8b18bce41deea606770e9864aa0de5 (patch)
treef0c623ba4d5d6043353b9e051dc2e2c2371266c9 /storage/maria/maria_chk.c
parentb27fd90ad36f4194665744cc1dcdd05f2d0b47ef (diff)
downloadmariadb-git-b6862c914f8b18bce41deea606770e9864aa0de5.tar.gz
cleanup: remove now-unused argument
Diffstat (limited to 'storage/maria/maria_chk.c')
-rw-r--r--storage/maria/maria_chk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/maria_chk.c b/storage/maria/maria_chk.c
index 61d0b1f66c0..df3077c81c7 100644
--- a/storage/maria/maria_chk.c
+++ b/storage/maria/maria_chk.c
@@ -1242,7 +1242,7 @@ static int maria_chk(HA_CHECK *param, char *filename)
mysql_file_close(info->dfile.file, MYF(MY_WME)); /* Close new file */
error|=maria_change_to_newfile(filename,MARIA_NAME_DEXT,DATA_TMP_EXT,
0, MYF(0));
- if (_ma_open_datafile(info,info->s, NullS))
+ if (_ma_open_datafile(info, info->s))
error=1;
param->out_flag&= ~O_NEW_DATA; /* We are using new datafile */
param->read_cache.file= info->dfile.file;