1
-- source include/have_innodb.inc
3
let $file_format=`select @@innodb_file_format`;
4
let $file_format_max=`select @@innodb_file_format_max`;
5
let $file_per_table=`select @@innodb_file_per_table`;
7
SET GLOBAL innodb_file_format='Barracuda';
8
SET GLOBAL innodb_file_per_table=on;
10
#set old_alter_table=0;
12
CREATE TABLE bug53591(a text not null)
15
ALTER TABLE bug53591 ADD PRIMARY KEY(a(500));
20
EVAL SET GLOBAL innodb_file_format=$file_format;
21
EVAL SET GLOBAL innodb_file_format_max=$file_format_max;
22
EVAL SET GLOBAL innodb_file_per_table=$file_per_table;