mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-15364 FOREIGN CASCADE operations in system versioned referenced tables
Merge pull request #667
This commit is contained in:
@ -5177,6 +5177,20 @@ extern "C" bool thd_is_strict_mode(const MYSQL_THD thd)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Get query start time as SQL field data.
|
||||
Needed by InnoDB.
|
||||
@param thd Thread object
|
||||
@param buf Buffer to hold start time data
|
||||
*/
|
||||
void thd_get_query_start_data(THD *thd, char *buf)
|
||||
{
|
||||
LEX_CSTRING field_name;
|
||||
Field_timestampf f((uchar *)buf, NULL, 0, Field::NONE, &field_name, NULL, 6);
|
||||
f.store_TIME(thd->query_start(), thd->query_start_sec_part());
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Interface for MySQL Server, plugins and storage engines to report
|
||||
when they are going to sleep/stall.
|
||||
|
Reference in New Issue
Block a user