Commit 112589cd authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-19740: Remove a bogus condition

This triggered a "may be uninitialized" warning from GCC 9.2.1.
The bogus-looking condition was added in
7e916bb8
parent d07936aa
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment