Skip to content

Commit

Permalink
MDEV-19740: Remove a bogus condition
Browse files Browse the repository at this point in the history
This triggered a "may be uninitialized" warning from GCC 9.2.1.
The bogus-looking condition was added in
7e916bb
  • Loading branch information
dr-m committed Aug 15, 2019
1 parent d07936a commit 112589c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions storage/innobase/row/row0sel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5726,9 +5726,7 @@ row_search_mvcc(

/*-------------------------------------------------------------*/
if (!dict_index_is_spatial(index)) {
if (rec) {
btr_pcur_store_position(pcur, &mtr);
}
btr_pcur_store_position(pcur, &mtr);
}

lock_table_wait:
Expand Down

0 comments on commit 112589c

Please sign in to comment.