diff options
author | Daniel Black <daniel@mariadb.org> | 2021-08-31 14:08:17 +1000 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2021-08-31 14:08:21 +1000 |
commit | 18de678be485ce50eab10845654b3980b712e4df (patch) | |
tree | 79cc98b8dd24aa45bcf466c9c82ecbc867ff5b16 /plugin/provider_snappy/plugin.c | |
parent | 71bfb132e2667743802c4f66b7a1911ec9e76b37 (diff) | |
download | mariadb-git-18de678be485ce50eab10845654b3980b712e4df.tar.gz |
MDEV-12933: sort out the compression library chaos - fix
Compile warning on clang-10 appears to be correct:
[ 76%] Building C object storage/maria/CMakeFiles/aria_chk.dir/aria_chk.c.o
/buildbot/amd64-ubuntu-1804-clang10-asan/build/storage/innobase/row/row0import.cc:3508:36: error: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Werror,-Wparentheses]
(provider_service_lzo->is_loaded)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/buildbot/amd64-ubuntu-1804-clang10-asan/build/storage/innobase/row/row0import.cc:3508:36: note: place parentheses around the '+' expression to silence this warning
(provider_service_lzo->is_loaded)?
^
)
/buildbot/amd64-ubuntu-1804-clang10-asan/build/storage/innobase/row/row0import.cc:3508:36: note: place parentheses around the '?:' expression to evaluate it first
(provider_service_lzo->is_loaded)?
^
(
1 error generated.
storage/innobase/CMakeFiles/innobase.dir/build.make:1958: recipe for target 'storage/innobase/CMakeFiles/innobase.dir/row/row0import.cc.o' failed
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/row/row0import.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Corrected with more parentheses to give ?: higher precidence
Diffstat (limited to 'plugin/provider_snappy/plugin.c')
0 files changed, 0 insertions, 0 deletions