Commit a633c455 authored by Vasil Dimov's avatar Vasil Dimov

Convert InnoDB Plugin tests to include have_innodb_plugin.inc.

This also instructs mtr to transparently load the plugin.
parent 02c597e7
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
#display current value of innodb_use_sys_malloc #display current value of innodb_use_sys_malloc
SELECT @@GLOBAL.innodb_use_sys_malloc; SELECT @@GLOBAL.innodb_use_sys_malloc;
...@@ -22,7 +22,7 @@ create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1; ...@@ -22,7 +22,7 @@ create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
insert into t1 values (1),(2),(3),(4),(5),(6),(7); insert into t1 values (1),(2),(3),(4),(5),(6),(7);
select * from t1; select * from t1;
drop table t1; drop table t1;
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
#display current value of innodb_use_sys_malloc #display current value of innodb_use_sys_malloc
SELECT @@GLOBAL.innodb_use_sys_malloc; SELECT @@GLOBAL.innodb_use_sys_malloc;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# some innodb internal reserved key words, # some innodb internal reserved key words,
# both case sensitively and insensitely. # both case sensitively and insensitely.
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
# This create table operation should fail. # This create table operation should fail.
--error ER_WRONG_COLUMN_NAME --error ER_WRONG_COLUMN_NAME
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# "GEN_CLUST_INDEX", which is the reserved # "GEN_CLUST_INDEX", which is the reserved
# name for innodb default primary index. # name for innodb default primary index.
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
# This 'create table' operation should fail because of # This 'create table' operation should fail because of
# using the reserve name as its index name. # using the reserve name as its index name.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# It is reproducible with InnoDB plugin 1.0.4 + MySQL 5.1.37. # It is reproducible with InnoDB plugin 1.0.4 + MySQL 5.1.37.
# But no longer reproducible after MySQL 5.1.38 (with plugin 1.0.5). # But no longer reproducible after MySQL 5.1.38 (with plugin 1.0.5).
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
SET foreign_key_checks=0; SET foreign_key_checks=0;
CREATE TABLE t1 (id int, foreign key (id) references t2(id)) ENGINE=INNODB; CREATE TABLE t1 (id int, foreign key (id) references t2(id)) ENGINE=INNODB;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# "innodb_file_format_check" with a # "innodb_file_format_check" with a
# user-Defined Variable. # user-Defined Variable.
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
# Save the value (Antelope) in 'innodb_file_format_check' to # Save the value (Antelope) in 'innodb_file_format_check' to
# 'old_innodb_file_format_check' # 'old_innodb_file_format_check'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# not result in column definition inconsistency between MySQL and # not result in column definition inconsistency between MySQL and
# InnoDB # InnoDB
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
CREATE TABLE bug47621 (salesperson INT) ENGINE=InnoDB; CREATE TABLE bug47621 (salesperson INT) ENGINE=InnoDB;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# We resolve the problem by sync the index sequence # We resolve the problem by sync the index sequence
# up when opening the table. # up when opening the table.
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
connect (a,localhost,root,,); connect (a,localhost,root,,);
connect (b,localhost,root,,); connect (b,localhost,root,,);
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# should follow the process for the BLOB # should follow the process for the BLOB
# datatype as well. # datatype as well.
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
create table bug47777(c2 linestring not null, primary key (c2(1))) engine=innodb; create table bug47777(c2 linestring not null, primary key (c2(1))) engine=innodb;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# will be created as primary index # will be created as primary index
# Following queries test various scenario, no mismatch # Following queries test various scenario, no mismatch
# error message should be printed. # error message should be printed.
--source include/have_innodb.inc -- source include/have_innodb_plugin.inc
# Create a table contains a BLOB column # Create a table contains a BLOB column
create table bug51378 ( create table bug51378 (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment