mirror of
https://github.com/MariaDB/server.git
synced 2025-05-29 21:42:28 +03:00
13 lines
426 B
Plaintext
13 lines
426 B
Plaintext
-- source include/have_bdb.inc
|
|
|
|
#
|
|
# Small basic test for ALTER TABLE bug ..
|
|
#
|
|
drop table if exists t1;
|
|
create table t1(objid BIGINT not null, tablename varchar(64), oid BIGINT not null, test BIGINT, PRIMARY KEY (objid), UNIQUE(tablename)) type=BDB;
|
|
insert into t1 values(1, 't1',4,9);
|
|
insert into t1 values(2, 'metatable',1,9);
|
|
insert into t1 values(3, 'metaindex',1,9 );
|
|
select * from t1;
|
|
alter table t1 drop column test;
|