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/bug3565.sql
2016-01-06 14:08:59 -06:00

16 lines
408 B
SQL

drop table if exists bug3565;
-- Create a table with a tinyint.
create table bug3565(c1 tinyint)engine=infinidb;
-- Populate with > 256K rows.
insert into bug3565 (select 0 from orders limit 270000);
alter table bug3565 add column c2 bigint;
alter table bug3565 add column c3 int;
select count(c1) from bug3565;
select count(c2) from bug3565;
select count(c3) from bug3565;
drop table if exists bug3565;