mirror of
https://github.com/MariaDB/server.git
synced 2025-05-02 19:25:03 +03:00
MDEV-11353 - Identical logical conditions
Added test case.
This commit is contained in:
parent
cbd7548aff
commit
ef82fd8ca3
@ -151,3 +151,11 @@ select create_options from information_schema.tables where table_schema="test";
|
|||||||
create_options
|
create_options
|
||||||
partitioned
|
partitioned
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
#
|
||||||
|
# MDEV-11353 - Identical logical conditions
|
||||||
|
#
|
||||||
|
CREATE TABLE t1(a INT) CHECKSUM=1 SELECT 1;
|
||||||
|
SELECT CHECKSUM FROM INFORMATION_SCHEMA.PARTITIONS WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1';
|
||||||
|
CHECKSUM
|
||||||
|
3036305396
|
||||||
|
DROP TABLE t1;
|
||||||
|
@ -131,3 +131,10 @@ drop table if exists t1;
|
|||||||
create table t1 (f1 int key) partition by key(f1) partitions 2;
|
create table t1 (f1 int key) partition by key(f1) partitions 2;
|
||||||
select create_options from information_schema.tables where table_schema="test";
|
select create_options from information_schema.tables where table_schema="test";
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
--echo #
|
||||||
|
--echo # MDEV-11353 - Identical logical conditions
|
||||||
|
--echo #
|
||||||
|
CREATE TABLE t1(a INT) CHECKSUM=1 SELECT 1;
|
||||||
|
SELECT CHECKSUM FROM INFORMATION_SCHEMA.PARTITIONS WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1';
|
||||||
|
DROP TABLE t1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user