mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
14 lines
329 B
Text
14 lines
329 B
Text
DROP TABLE IF EXISTS t1,t2;
|
|
drop database if exists mysqltest;
|
|
CREATE TABLE t1 (
|
|
pk1 INT NOT NULL PRIMARY KEY,
|
|
attr1 INT NOT NULL,
|
|
attr2 INT,
|
|
attr3 VARCHAR(10),
|
|
INDEX i1(attr1)
|
|
) ENGINE=ndbcluster;
|
|
alter table t1 rename t2;
|
|
create database ndbtest;
|
|
alter table t2 rename ndbtest.t2;
|
|
drop table ndbtest.t2;
|
|
drop database ndbtest;
|