mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-08 08:11:00 +00:00

Modified TableParser to ignore GENERATED columns from the columns list used to construct SELECTs/INSERTs
10 lines
302 B
SQL
10 lines
302 B
SQL
CREATE SCHEMA IF NOT EXISTS test;
|
|
USE test;
|
|
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE `test`.`t1` (
|
|
`ID` int(11) NOT NULL,
|
|
`Column2` int(11) DEFAULT NULL,
|
|
`Column3` int(11) GENERATED ALWAYS AS ((`Column2` + 1)) STORED,
|
|
PRIMARY KEY (`ID`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|