1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-12 12:25:37 +03:00

Fix more -Wnonnull-compare

For some reason, GCC 8 did not issue warnings for all such comparisons.
This commit is contained in:
Marko Mäkelä
2019-04-03 19:21:54 +03:00
parent c0fca2863b
commit fa14784301
2 changed files with 0 additions and 2 deletions

View File

@@ -1087,7 +1087,6 @@ trx_undo_rec_get_partial_row(
const byte* end_ptr;
ulint row_len;
ut_ad(ptr);
ut_ad(dict_index_is_clust(index));
row_len = dict_table_get_n_cols(index->table);

View File

@@ -1087,7 +1087,6 @@ trx_undo_rec_get_partial_row(
const byte* end_ptr;
ulint row_len;
ut_ad(ptr);
ut_ad(dict_index_is_clust(index));
row_len = dict_table_get_n_cols(index->table);