1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-17 09:41:06 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/srvswdev11/test110/bug5237b.sql
2016-01-06 14:08:59 -06:00

10 lines
474 B
SQL

#
# After importing physical partition 3...
# Drop physical partition 3 and verify 1 partition still exists
#
select distinct batch from tbug5237;
select count(distinct batch), (case count(distinct batch) when 2 then 'good' else 'bad' end) q103 from tbug5237;
select calDropPartitionsByValue('tbug5237', 'batch', '3', '3');
select distinct batch from tbug5237;
select count(distinct batch), (case count(distinct batch) when 1 then 'good' else 'bad' end) q104 from tbug5237;