From 67aaf51cf9ef95180702ca9ae6275631bb40e7c7 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 19 Apr 2020 19:47:31 +0200 Subject: cleanup: ha_external_unlock() helper as mentioned in f9f33b85be6 and generally to make it easier to talk about --- sql/handler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/handler.h') diff --git a/sql/handler.h b/sql/handler.h index 0fa492a2a6f..afad986c883 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -3381,6 +3381,7 @@ public: and delete_row() below. */ int ha_external_lock(THD *thd, int lock_type); + int ha_external_unlock(THD *thd) { return ha_external_lock(thd, F_UNLCK); } int ha_write_row(const uchar * buf); int ha_update_row(const uchar * old_data, const uchar * new_data); int ha_delete_row(const uchar * buf); -- cgit v1.2.1