diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-02-16 12:02:31 +0200 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-02-16 12:02:31 +0200 |
commit | 108b211ee2aa3944f060850a2522fb28c75f6158 (patch) | |
tree | 53acf1a2a56892f9bf44fb9bf5cc496120c38aec /storage/xtradb/rem/rem0rec.c | |
parent | 2e8fa1c2b2867b99b5cc7f987ad64b666e0af2c4 (diff) | |
download | mariadb-git-108b211ee2aa3944f060850a2522fb28c75f6158.tar.gz |
Fix gcc 6.3.x compiler warnings.
These are caused by fact that functions are declared with
__attribute__((nonnull)) or left shit like ~0 << macro
when ~0U << macro should be used.
Diffstat (limited to 'storage/xtradb/rem/rem0rec.c')
-rw-r--r-- | storage/xtradb/rem/rem0rec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/xtradb/rem/rem0rec.c b/storage/xtradb/rem/rem0rec.c index 69d9e49e693..ef020fe3a80 100644 --- a/storage/xtradb/rem/rem0rec.c +++ b/storage/xtradb/rem/rem0rec.c @@ -791,8 +791,7 @@ rec_get_converted_size_comp_prefix_low( ulint extra_size; ulint data_size; ulint i; - ut_ad(index); - ut_ad(fields); + ut_ad(n_fields > 0); ut_ad(n_fields <= dict_index_get_n_fields(index)); ut_ad(!temp || extra); |