1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-15 22:22:17 +03:00
Files
mariadb-columnstore-engine/mysql/queries/working_dml/misc/bug5274.negative.sql
2016-01-06 14:08:59 -06:00

11 lines
413 B
SQL
Executable File

drop table if exists bug5274;
create table bug5274(id int)engine=infinidb;
alter table bug5274 add column ( newcol1 int not null);
insert into bug5274 values (1, 2);
alter table bug5274 add column ( newcol2 int not null);
alter table bug5274 add column ( newcol2 int not null default 10);
select * from bug5274;
alter table bug5274 add column ( newcol3 int default 11);
select * from bug5274;
drop table bug5274;