mariadb/mysql-test/suite/tokudb.bugs/t/3486.test
Zardosht Kasheff c96e822c99 [t:3486], add some comments to test
git-svn-id: file:///svn/mysql/tests/mysql-test@30545 c7de825b-a66e-492c-adef-691d508d4ae1
2011-05-04 16:16:21 +00:00

20 lines
No EOL
571 B
Text

# ticket 3486 is a bug where we crash on an update because the buffer we allocate
# is not resized
--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
set session tokudb_disable_slow_alter=ON;
create table foo (a blob, clustering key (a(3)))engine=TokuDB;
insert into foo values("");
# not really necessary to alter table, we could have just udpated a
alter table foo add column b blob;
update foo set b="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb";
select * from foo;
drop table foo;