Also crashes with normal grammar + lock_wait_timeout and with complex grammar.
normal grammar being:
$tables = { partitions => [ undef , 'KEY (pk) PARTITIONS 2' ], engines => [ 'InnoDB' ], pk => [ 'int', 'int auto_increment' ], rows => [ 1, 100, 1000 ] };
$fields = { types => [ 'int', 'char(12)'], indexes => [undef, 'key' ] };
$data = { numbers => [ 'digit', 'null', undef ], strings => [ 'letter', 'english', 'char(12)' ] }
Complex one:
$tables = { partitions => [ undef , 'KEY (pk) PARTITIONS 2' ], engines => [ 'InnoDB' ], pk => [ 'int', 'int auto_increment' ], rows => [ 1, 100, 1000 ], row_formats => ['COMPRESSED','DEFAULT'] };
$fields = { types => [ 'int', 'char(12)', 'varchar', 'date', 'bigint', 'enum' ], indexes => [undef, 'key' ], charsets => ['utf8','latin1'] };
$data = { numbers => [ 'digit', 'null', undef ], temporals => ['date', 'year', 'null', undef ], enum => [ 'letter' ], strings => [ 'letter', 'english', 'char(12)', 'varchar(246)', 'varchar(100)' ] }
Also crashes with normal grammar + lock_wait_timeout and with complex grammar.
normal grammar being:
$tables = {
partitions => [ undef , 'KEY (pk) PARTITIONS 2' ],
engines => [ 'InnoDB' ],
pk => [ 'int', 'int auto_increment' ],
rows => [ 1, 100, 1000 ]
};
$fields = {
types => [ 'int', 'char(12)'],
indexes => [undef, 'key' ]
};
$data = {
numbers => [ 'digit', 'null', undef ],
strings => [ 'letter', 'english', 'char(12)' ]
}
Complex one:
$tables = {
row_formats => ['COMPRESSED' ,'DEFAULT' ]
partitions => [ undef , 'KEY (pk) PARTITIONS 2' ],
engines => [ 'InnoDB' ],
pk => [ 'int', 'int auto_increment' ],
rows => [ 1, 100, 1000 ],
};
$fields = {
types => [ 'int', 'char(12)', 'varchar', 'date', 'bigint', 'enum' ],
indexes => [undef, 'key' ],
charsets => ['utf8','latin1']
};
$data = {
numbers => [ 'digit', 'null', undef ],
temporals => ['date', 'year', 'null', undef ],
enum => [ 'letter' ],
strings => [ 'letter', 'english', 'char(12)', 'varchar(246)', 'varchar(100)' ]
}