summaryrefslogtreecommitdiff
path: root/storage/xtradb/row/row0upd.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-04-03 09:46:49 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-04-03 09:46:49 +0300
commitc0fca2863bcbd7cd231f1aa747b4f8d999e3a00e (patch)
tree81bffdb7541b3957dde9d7b689baa7b43375ce67 /storage/xtradb/row/row0upd.cc
parent65d758aa891bdafca6c881d3e7075979de3395e9 (diff)
downloadmariadb-git-c0fca2863bcbd7cd231f1aa747b4f8d999e3a00e.tar.gz
Fix -Wnonnull-compare
InnoDB and XtraDB had redundant assertions for checking that function parameters that were declared as nonnull were not NULL.
Diffstat (limited to 'storage/xtradb/row/row0upd.cc')
-rw-r--r--storage/xtradb/row/row0upd.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/storage/xtradb/row/row0upd.cc b/storage/xtradb/row/row0upd.cc
index 93ccc07c9af..3df207716c3 100644
--- a/storage/xtradb/row/row0upd.cc
+++ b/storage/xtradb/row/row0upd.cc
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2018, MariaDB Corporation.
+Copyright (c) 2018, 2019, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -2208,7 +2208,6 @@ row_upd_clust_rec_by_insert(
rec_t* rec;
ulint* offsets = NULL;
- ut_ad(node);
ut_ad(dict_index_is_clust(index));
trx = thr_get_trx(thr);
@@ -2357,7 +2356,6 @@ row_upd_clust_rec(
dberr_t err;
const dtuple_t* rebuilt_old_pk = NULL;
- ut_ad(node);
ut_ad(dict_index_is_clust(index));
pcur = node->pcur;
@@ -2525,7 +2523,6 @@ row_upd_del_mark_clust_rec(
trx_t* trx = thr_get_trx(thr) ;
#endif /* WITH_WSREP */
- ut_ad(node);
ut_ad(dict_index_is_clust(index));
ut_ad(node->is_delete);