mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Adjust test
This commit is contained in:
parent
378195a6d8
commit
a2753a46c6
@ -50,7 +50,7 @@ After database reattachement the table is still absent (it was detached permamen
|
|||||||
And we can not detach it permanently
|
And we can not detach it permanently
|
||||||
But we can attach it back
|
But we can attach it back
|
||||||
And detach permanently again to check how database drop will behave
|
And detach permanently again to check how database drop will behave
|
||||||
DROP database - Directory not empty error, but database deteched
|
DROP database - Directory not empty error, but database detached
|
||||||
DROP database - now success
|
DROP database - now success
|
||||||
-----------------------
|
-----------------------
|
||||||
database lazy tests
|
database lazy tests
|
||||||
|
@ -128,8 +128,8 @@ ATTACH TABLE test1601_detach_permanently_ordinary.test_name_reuse;
|
|||||||
SELECT 'And detach permanently again to check how database drop will behave';
|
SELECT 'And detach permanently again to check how database drop will behave';
|
||||||
DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;
|
DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;
|
||||||
|
|
||||||
SELECT 'DROP database - Directory not empty error, but database deteched';
|
SELECT 'DROP database - Directory not empty error, but database detached';
|
||||||
DROP DATABASE test1601_detach_permanently_ordinary; -- { serverError 1000 }
|
DROP DATABASE test1601_detach_permanently_ordinary; -- { serverError 1001 }
|
||||||
|
|
||||||
ATTACH DATABASE test1601_detach_permanently_ordinary;
|
ATTACH DATABASE test1601_detach_permanently_ordinary;
|
||||||
|
|
||||||
@ -203,7 +203,7 @@ SELECT 'And detach permanently again to check how database drop will behave';
|
|||||||
DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;
|
DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;
|
||||||
|
|
||||||
SELECT 'DROP database - Directory not empty error, but database deteched';
|
SELECT 'DROP database - Directory not empty error, but database deteched';
|
||||||
DROP DATABASE test1601_detach_permanently_lazy; -- { serverError 1000 }
|
DROP DATABASE test1601_detach_permanently_lazy; -- { serverError 1001 }
|
||||||
|
|
||||||
ATTACH DATABASE test1601_detach_permanently_lazy;
|
ATTACH DATABASE test1601_detach_permanently_lazy;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user