mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
bf4f63c7ef
git-svn-id: file:///svn/mysql/tests/mysql-test@30541 c7de825b-a66e-492c-adef-691d508d4ae1
18 lines
No EOL
470 B
Text
18 lines
No EOL
470 B
Text
# ticket 895 is a query optimization problem with the primary key
|
|
|
|
--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("");
|
|
alter table foo add column b blob;
|
|
update foo set b="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb";
|
|
select * from foo;
|
|
|
|
drop table foo; |