~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/tests/t/innodb_bug53591.test

  • Committer: Monty Taylor
  • Date: 2010-11-26 22:50:54 UTC
  • mfrom: (1953.1.6 build)
  • Revision ID: mordred@inaugust.com-20101126225054-sg90svw8579t5p3i
Stewart - InnoDB 1.1.1
Monty - Fixed some autoconf tests which were returning false positives.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- source include/have_innodb.inc
 
2
 
 
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`;
 
6
 
 
7
SET GLOBAL innodb_file_format='Barracuda';
 
8
SET GLOBAL innodb_file_per_table=on;
 
9
 
 
10
#set old_alter_table=0;
 
11
 
 
12
CREATE TABLE bug53591(a text not null)
 
13
ENGINE=InnoDB;
 
14
-- error 139 , 1071
 
15
ALTER TABLE bug53591 ADD PRIMARY KEY(a(500));
 
16
SHOW WARNINGS;
 
17
 
 
18
DROP TABLE bug53591;
 
19
 
 
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;