korsygfhrtzangaiide
Elepffwdsff
/
usr
/
include
/
mysql
/
mysql
/
Upload FileeE
HOME
/* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 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 Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 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 */ #ifndef MYSQL_SERVICE_THD_EGINE_LOCK_INCLUDED #define MYSQL_SERVICE_THD_EGINE_LOCK_INCLUDED /** @file include/mysql/service_thd_engine_lock.h This service provides functions for storage engines to report lock related activities. SYNOPSIS thd_row_lock_wait() - call it just when the engine find a transaction should wait another transaction to realease a row lock thd The session which is waiting for the row lock to release. thd_wait_for The session which is holding the row lock. */ #ifdef __cplusplus class THD; #else #define THD void #endif #ifdef __cplusplus extern "C" { #endif void thd_report_row_lock_wait(THD* self, THD *wait_for); #ifdef __cplusplus } #endif #endif