Commit 79c9d67f authored by Rich Prohaska's avatar Rich Prohaska

refs #5674 merge expand bug tests to mainline

git-svn-id: file:///svn/mysql/tests/mysql-test@49797 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2c64cff4
drop table if exists t;
set default_storage_engine='tokudb';
create table t (x char(4));
insert into t values ('hi');
delete from t where x='hi';
alter table t change column x x char(5);
drop table t;
drop table if exists t;
set default_storage_engine='tokudb';
create table t (x int);
insert into t values (1);
delete from t where x=1;
alter table t change column x x bigint;
drop table t;
drop table if exists t;
set default_storage_engine='tokudb';
create table t (x varchar(4));
insert into t values ('a');
delete from t where x='a';
alter table t change column x x varchar(256);
drop table t;
# see #5684 for details
source include/have_tokudb.inc;
disable_warnings;
drop table if exists t;
enable_warnings;
set default_storage_engine='tokudb';
create table t (x char(4));
insert into t values ('hi');
delete from t where x='hi';
# the following statment crashes the expand callback function
alter table t change column x x char(5);
drop table t;
# see #5684 for details
source include/have_tokudb.inc;
disable_warnings;
drop table if exists t;
enable_warnings;
set default_storage_engine='tokudb';
create table t (x int);
insert into t values (1);
delete from t where x=1;
# the following statment crashes the expand int callback function
alter table t change column x x bigint;
drop table t;
# see #5684 for details
source include/have_tokudb.inc;
disable_warnings;
drop table if exists t;
enable_warnings;
set default_storage_engine='tokudb';
create table t (x varchar(4));
insert into t values ('a');
delete from t where x='a';
# the following statment crashes the expand callback function
alter table t change column x x varchar(256);
drop table t;
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