Adjust test

This commit is contained in:
kssenii 2021-05-01 00:37:10 +03:00
parent 378195a6d8
commit a2753a46c6
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ After database reattachement the table is still absent (it was detached permamen
And we can not detach it permanently
But we can attach it back
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
-----------------------
database lazy tests

View File

@ -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';
DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;
SELECT 'DROP database - Directory not empty error, but database deteched';
DROP DATABASE test1601_detach_permanently_ordinary; -- { serverError 1000 }
SELECT 'DROP database - Directory not empty error, but database detached';
DROP DATABASE test1601_detach_permanently_ordinary; -- { serverError 1001 }
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;
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;