1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00
Files
mariadb/storage/tokudb/mysql-test/tokudb_bugs/t/3486.test
Sergei Golubchik 9a3b9a5416 tokudb test suites
2013-09-09 13:59:38 +02:00

21 lines
584 B
Plaintext

# 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 DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
set session tokudb_disable_slow_alter=ON;
create table foo (a blob, key (a(3)) clustering=yes)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;