v.20.5Improvement
Remove DROP DATABASE Data for Memory Engine
Remove data on explicitDROP DATABASEforMemorydatabase engine. Fixes #10557. #11021 (tavplubix).
Why it matters
This change fixes an issue where data fromMemory engine databases was improperly removed when executing DROP DATABASE. By preventing data removal on drop, it avoids accidental data loss and aligns behavior with expected use for in-memory databases.How to use it
Users simply execute theDROP DATABASE command as usual on databases with the Memory engine. The data will no longer be deleted explicitly on drop.