mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 05:29:30 +00:00
Add DEFAULT CURRENT_TIMESTAMP to deadlocks table to prevent ON UPDATE DEFAULT CURRENT_TIMESTAMP.
This commit is contained in:
@@ -5214,7 +5214,7 @@ MAGIC_dest_table
|
|||||||
|
|
||||||
CREATE TABLE deadlocks (
|
CREATE TABLE deadlocks (
|
||||||
server char(20) NOT NULL,
|
server char(20) NOT NULL,
|
||||||
ts timestamp NOT NULL,
|
ts timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
thread int unsigned NOT NULL,
|
thread int unsigned NOT NULL,
|
||||||
txn_id bigint unsigned NOT NULL,
|
txn_id bigint unsigned NOT NULL,
|
||||||
txn_time smallint unsigned NOT NULL,
|
txn_time smallint unsigned NOT NULL,
|
||||||
|
Reference in New Issue
Block a user