From ffb83ba65026e2af547b44601c4894437e4f031c Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 2 May 2019 13:09:27 +0200 Subject: cleanup: move checksum code to handler class make live checksum to be returned in handler::info(), and slow table-scan checksum to be calculated in handler::checksum(). part of MDEV-16249 CHECKSUM TABLE for a spider table is not parallel and saves all data in memory in the spider head by default --- sql/ha_partition.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sql/ha_partition.h') diff --git a/sql/ha_partition.h b/sql/ha_partition.h index e1f1503f8ec..41622590f0d 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -1454,7 +1454,6 @@ public: virtual int dump(THD* thd, int fd = -1); virtual int net_read_dump(NET* net); */ - virtual uint checksum() const; /* Enabled keycache for performance reasons, WL#4571 */ virtual int assign_to_keycache(THD* thd, HA_CHECK_OPT *check_opt); virtual int preload_keys(THD* thd, HA_CHECK_OPT* check_opt); -- cgit v1.2.1 From 3d7e06d4ab1c108d61ac7dd4d09287580d77add5 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 2 May 2019 14:31:36 +0200 Subject: cleanup: remove dead code --- sql/ha_partition.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'sql/ha_partition.h') diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 41622590f0d..91c6b5c110c 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -1443,17 +1443,6 @@ public: void append_row_to_str(String &str); public: - /* - ------------------------------------------------------------------------- - Admin commands not supported currently (almost purely MyISAM routines) - This means that the following methods are not implemented: - ------------------------------------------------------------------------- - - virtual int backup(TD* thd, HA_CHECK_OPT *check_opt); - virtual int restore(THD* thd, HA_CHECK_OPT *check_opt); - virtual int dump(THD* thd, int fd = -1); - virtual int net_read_dump(NET* net); - */ /* Enabled keycache for performance reasons, WL#4571 */ virtual int assign_to_keycache(THD* thd, HA_CHECK_OPT *check_opt); virtual int preload_keys(THD* thd, HA_CHECK_OPT* check_opt); -- cgit v1.2.1 From 5543b75550962f07b4adcd47a6e52accec0a7d0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Sat, 11 May 2019 21:29:06 +0300 Subject: Update FSF Address * Update wrong zip-code --- sql/ha_partition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/ha_partition.h') diff --git a/sql/ha_partition.h b/sql/ha_partition.h index e8e3858d076..d721a0df254 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */ #ifdef __GNUC__ #pragma interface /* gcc class implementation */ -- cgit v1.2.1