diff options
author | Igor Babaev <igor@askmonty.org> | 2013-04-13 02:36:30 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2013-04-13 02:36:30 -0700 |
commit | b53bf231cc542187f56a0ba4f2a708b993e22b50 (patch) | |
tree | 50873dc70783746eb385e6c1cba52d1ec53c5dfc /sql/sql_statistics.h | |
parent | 0594dc66fb970f0fd528a77b486c4fbebf1a85d2 (diff) | |
download | mariadb-git-b53bf231cc542187f56a0ba4f2a708b993e22b50.tar.gz |
Fixed compiler complains.
Diffstat (limited to 'sql/sql_statistics.h')
-rw-r--r-- | sql/sql_statistics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_statistics.h b/sql/sql_statistics.h index ea3dba3215a..8c1e95df1f0 100644 --- a/sql/sql_statistics.h +++ b/sql/sql_statistics.h @@ -124,6 +124,7 @@ private: case DOUBLE_PREC_HB: return ((uint) (1 << 16) - 1); } + return 1; } public: @@ -135,6 +136,7 @@ public: case DOUBLE_PREC_HB: return size / 2; } + return 0; } private: @@ -146,6 +148,7 @@ private: case DOUBLE_PREC_HB: return (uint) (((uint16 *) values)[i]); } + return 0; } uint find_bucket(double pos, bool first) |