mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix bug #53496 Use Lock_time in slow query log output for InnoDB row
lock wait time. Including the InnoDB lock time in the exiting "Lock_time" output.
This commit is contained in:
@ -307,6 +307,11 @@ void **thd_ha_data(const THD *thd, const struct handlerton *hton)
|
||||
return (void **) &thd->ha_data[hton->slot].ha_ptr;
|
||||
}
|
||||
|
||||
extern "C"
|
||||
void thd_storage_lock_wait(THD *thd, long long value)
|
||||
{
|
||||
thd->utime_after_lock+= value;
|
||||
}
|
||||
|
||||
/**
|
||||
Provide a handler data getter to simplify coding
|
||||
|
Reference in New Issue
Block a user