mirror of
https://github.com/MariaDB/server.git
synced 2025-04-20 22:25:30 +02:00
17 lines
504 B
Text
17 lines
504 B
Text
# DB-805 test that conversion of t1 from innodb to tokudb can write rows
|
|
source include/have_tokudb.inc;
|
|
source include/have_innodb.inc;
|
|
disable_warnings;
|
|
drop table if exists t1,t3;
|
|
enable_warnings;
|
|
|
|
create table t3(a3 int,b3 decimal(0,0),c3 int,d3 int,primary key(a3,b3)) engine=TOKUDB;
|
|
LOCK TABLES t3 WRITE;
|
|
create temporary table t1(f1 int,index(f1)) engine=innodb;
|
|
INSERT INTO t1 VALUES(1),(1),(1);
|
|
select * from t1;
|
|
ALTER TABLE t1 engine=TOKUDB;
|
|
select * from t1;
|
|
unlock tables;
|
|
|
|
drop table t1,t3;
|