From 7759991a06d54630214f19eaa0ec39bd21bf09df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Thu, 4 Mar 2021 18:11:25 +0200 Subject: fixup 58b56f14a096285a0e51b2233fc35398f1b01f5a: Remove dead code row_prebuilt_t::m_no_prefetch: Remove (it was always false). row_prebuilt_t::m_read_virtual_key: Remove (it was always false). Only ha_innopart ever set these fields. --- storage/innobase/include/row0mysql.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'storage/innobase/include/row0mysql.h') diff --git a/storage/innobase/include/row0mysql.h b/storage/innobase/include/row0mysql.h index d5cdd4a3f17..8738f991368 100644 --- a/storage/innobase/include/row0mysql.h +++ b/storage/innobase/include/row0mysql.h @@ -1,7 +1,7 @@ /***************************************************************************** Copyright (c) 2000, 2017, Oracle and/or its affiliates. All Rights Reserved. -Copyright (c) 2017, 2019, MariaDB Corporation. +Copyright (c) 2017, 2021, 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 @@ -784,12 +784,6 @@ struct row_prebuilt_t { search key values from MySQL format to InnoDB format.*/ uint srch_key_val_len; /*!< Size of search key */ - /** Disable prefetch. */ - bool m_no_prefetch; - - /** Return materialized key for secondary index scan */ - bool m_read_virtual_key; - /** The MySQL table object */ TABLE* m_mysql_table; }; -- cgit v1.2.1