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

10 lines
487 B
SQL

#
# After importing physical partitions 1 and 2...
# Disable physical partition 2 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) q101 from tbug5237;
select calDisablePartitionsByValue('tbug5237', 'batch', '2', '2');
select distinct batch from tbug5237;
select count(distinct batch), (case count(distinct batch) when 1 then 'good' else 'bad' end) q102 from tbug5237;