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

11 lines
503 B
SQL

#
# After importing physical partition 4...
# Enable physical partition 2 and verify 3 partitions still exist
#
#select calflushcache();
select distinct batch from tbug5237;
select count(distinct batch), (case count(distinct batch) when 2 then 'good' else 'bad' end) q105 from tbug5237;
select calEnablePartitionsByValue('tbug5237', 'batch', '2', '2');
select distinct batch from tbug5237;
select count(distinct batch), (case count(distinct batch) when 3 then 'good' else 'bad' end) q106 from tbug5237;