summaryrefslogtreecommitdiff
path: root/storage/csv
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-03-28 20:04:14 +0100
committerSergei Golubchik <sergii@pisem.net>2013-03-28 20:04:14 +0100
commit2901497b187ffcefbec73c4ac9b5270174e8682c (patch)
tree7546fe994305164a171948be01d7a261427b47d6 /storage/csv
parent78683672707bad90169b68b4c5d8aadc0e895f3d (diff)
downloadmariadb-git-2901497b187ffcefbec73c4ac9b5270174e8682c.tar.gz
MDEV-4243 Warnings/errors while compiling with clang
Diffstat (limited to 'storage/csv')
-rw-r--r--storage/csv/ha_tina.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/csv/ha_tina.cc b/storage/csv/ha_tina.cc
index d31e5ee8d89..54a85ec3a44 100644
--- a/storage/csv/ha_tina.cc
+++ b/storage/csv/ha_tina.cc
@@ -1436,9 +1436,9 @@ int ha_tina::rnd_end()
DBUG_RETURN(-1);
/* Open the file again */
- if (((data_file= mysql_file_open(csv_key_file_data,
- share->data_file_name,
- O_RDONLY, MYF(MY_WME))) == -1))
+ if ((data_file= mysql_file_open(csv_key_file_data,
+ share->data_file_name,
+ O_RDONLY, MYF(MY_WME))) == -1)
DBUG_RETURN(my_errno ? my_errno : -1);
/*
As we reopened the data file, increase share->data_file_version