mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added test #8727
This commit is contained in:
parent
1b24968b48
commit
6f0114910f
@ -0,0 +1,22 @@
|
||||
---
|
||||
test1
|
||||
test2
|
||||
--
|
||||
test1
|
||||
test2
|
||||
--
|
||||
--
|
||||
test1
|
||||
--
|
||||
test1
|
||||
---
|
||||
test1
|
||||
test2
|
||||
--
|
||||
test1
|
||||
test2
|
||||
--
|
||||
--
|
||||
test1
|
||||
--
|
||||
test1
|
@ -0,0 +1,33 @@
|
||||
SHOW TABLES NOT LIKE '%';
|
||||
|
||||
DROP DATABASE IF EXISTS test_01073;
|
||||
CREATE DATABASE test_01073;
|
||||
USE test_01073;
|
||||
|
||||
SHOW TABLES;
|
||||
SELECT '---';
|
||||
CREATE TABLE test1 (x UInt8) ENGINE = Memory;
|
||||
CREATE TABLE test2 (x UInt8) ENGINE = Memory;
|
||||
|
||||
SHOW TABLES;
|
||||
SELECT '--';
|
||||
SHOW TABLES LIKE 'tes%';
|
||||
SELECT '--';
|
||||
SHOW TABLES NOT LIKE 'tes%';
|
||||
SELECT '--';
|
||||
SHOW TABLES LIKE 'tes%1';
|
||||
SELECT '--';
|
||||
SHOW TABLES NOT LIKE 'tes%2';
|
||||
|
||||
SELECT '---';
|
||||
SHOW TABLES FROM test_01073;
|
||||
SELECT '--';
|
||||
SHOW TABLES FROM test_01073 LIKE 'tes%';
|
||||
SELECT '--';
|
||||
SHOW TABLES FROM test_01073 NOT LIKE 'tes%';
|
||||
SELECT '--';
|
||||
SHOW TABLES FROM test_01073 LIKE 'tes%1';
|
||||
SELECT '--';
|
||||
SHOW TABLES FROM test_01073 NOT LIKE 'tes%2';
|
||||
|
||||
DROP DATABASE test_01073;
|
Loading…
Reference in New Issue
Block a user