diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-03-28 20:04:14 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-03-28 20:04:14 +0100 |
commit | 2901497b187ffcefbec73c4ac9b5270174e8682c (patch) | |
tree | 7546fe994305164a171948be01d7a261427b47d6 /sql/opt_sum.cc | |
parent | 78683672707bad90169b68b4c5d8aadc0e895f3d (diff) | |
download | mariadb-git-2901497b187ffcefbec73c4ac9b5270174e8682c.tar.gz |
MDEV-4243 Warnings/errors while compiling with clang
Diffstat (limited to 'sql/opt_sum.cc')
-rw-r--r-- | sql/opt_sum.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_sum.cc b/sql/opt_sum.cc index fa3a07b72c5..069fe6452e8 100644 --- a/sql/opt_sum.cc +++ b/sql/opt_sum.cc @@ -84,7 +84,7 @@ static ulonglong get_exact_record_count(List<TABLE_LIST> &tables) while ((tl= ti++)) { ha_rows tmp= tl->table->file->records(); - if ((tmp == HA_POS_ERROR)) + if (tmp == HA_POS_ERROR) return ULONGLONG_MAX; count*= tmp; } |