diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-05-17 16:39:57 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-05-18 09:07:15 +0300 |
commit | 54bb04f7efc1d0842b3d8befb670f5d9f05cb211 (patch) | |
tree | eef3f1c003286502241e8ed80c74028384fc650b /include/my_sys.h | |
parent | a436e349dfd0035b2b861ee772b47089043f5a2a (diff) | |
download | mariadb-git-54bb04f7efc1d0842b3d8befb670f5d9f05cb211.tar.gz |
Fix some __attribute__((nonnull)) misuse
This fixes warnings that were emitted when running InnoDB test
suites on a debug server that was compiled with GCC 7.1.0 using
the flags -O3 -fsanitize=undefined.
thd_requested_durability(): XtraDB can call this with trx->mysql_thd=NULL.
Remove the function in InnoDB, because it is not used there.
calc_row_difference(): Do not call memcmp(o_ptr, NULL, 0).
innobase_index_name_is_reserved(): This can be called with
key_info=NULL, num_of_keys=0.
innobase_dropping_foreign(), innobase_check_foreigns_low(),
innobase_check_foreigns(): This can be called with
drop_fk=NULL, n_drop_fk=0.
rec_convert_dtuple_to_rec_comp(): Do not invoke memcpy(end, NULL, 0).
Diffstat (limited to 'include/my_sys.h')
0 files changed, 0 insertions, 0 deletions