1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-26 11:48:52 +03:00

24 lines
653 B
Plaintext

# -------------------------------------------------------------- #
# Test case migrated from regression test suite: MCOL-657.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
--disable_warnings
create table if not exists MCOL657 (a int, b int) engine=columnstore;
--enable_warnings
insert into MCOL657 values (1,1), (2,2), (3,4), (NULL, NULL), (NULL, 2), (3, NULL);
select * from MCOL657 where a = b OR (a IS NULL AND b IS NULL);
select * from MCOL657 where a<=>b;
--disable_warnings
drop table MCOL657;
--enable_warnings
#