mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 03:43:17 +00:00

* PMM-1914 Fixed column parsing having generated Fixed table parser code that errouneously considered a column as generated when the default was empty DEFAULT '' and the COMMENT had the word 'Generated'. * PMM-1914 Updated TableParser in all programs * PT-1914 Updated changelog * PT-1914 Added test
19 lines
410 B
SQL
19 lines
410 B
SQL
DROP DATABASE IF EXISTS test;
|
|
CREATE DATABASE test;
|
|
USE test;
|
|
|
|
CREATE TABLE `aaa` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`Password` varchar(100) NOT NULL DEFAULT '' COMMENT 'Generated',
|
|
`v` int(11) DEFAULT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
|
|
|
|
INSERT INTO test.aaa VALUES
|
|
(1, "a", 1),
|
|
(2, "b", 2),
|
|
(3, "c", NULL),
|
|
(4, "d", 4),
|
|
(5, "e", NULL),
|
|
(6, "f", 6);
|