mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 06:30:10 +00:00
Fix for 1047335: SchemaIterator fails when it encounters a crashed table
This commit is contained in:
11
t/lib/samples/bug_1047335_crashed_table.sql
Normal file
11
t/lib/samples/bug_1047335_crashed_table.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
DROP DATABASE IF EXISTS bug_1047335;
|
||||
CREATE DATABASE bug_1047335;
|
||||
USE bug_1047335;
|
||||
CREATE TABLE bug_1047335.crashed_table (
|
||||
`id` int(10) unsigned NOT NULL auto_increment,
|
||||
`trx_id` int(10) unsigned default NULL,
|
||||
`etc` text,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx1` (`trx_id`),
|
||||
KEY `idx2` (`trx_id`, `etc`(128))
|
||||
) ENGINE=MyISAM;
|
Reference in New Issue
Block a user