mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
Fix samples for MySQL 5.0.
This commit is contained in:
@@ -314,7 +314,7 @@ SKIP: {
|
||||
$tp = new TableParser(Quoter => $q);
|
||||
test_so(
|
||||
filters => [qw(-t mysql.user)],
|
||||
result => $sandbox_version eq '5.1' ? "$out/mysql-user-ddl.txt"
|
||||
result => $sandbox_version ge '5.1' ? "$out/mysql-user-ddl.txt"
|
||||
: "$out/mysql-user-ddl-5.0.txt",
|
||||
test_name => "Get CREATE TABLE with dbh",
|
||||
);
|
||||
|
@@ -37,7 +37,7 @@ CREATE TABLE `user` (
|
||||
`max_updates` int(11) unsigned NOT NULL default '0',
|
||||
`max_connections` int(11) unsigned NOT NULL default '0',
|
||||
`max_user_connections` int(11) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`Host`,`User`)
|
||||
PRIMARY KEY (`Host`,`User`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Users and global privileges'
|
||||
|
||||
|
||||
|
@@ -3,6 +3,6 @@ CREATE TABLE `actor` (
|
||||
`first_name` varchar(45) NOT NULL,
|
||||
`last_name` varchar(45) NOT NULL,
|
||||
`last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`actor_id`),
|
||||
PRIMARY KEY (`actor_id`),
|
||||
KEY `idx_actor_last_name` (`last_name`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8
|
||||
|
Reference in New Issue
Block a user