mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
22 lines
436 B
C++
22 lines
436 B
C++
#include <Disks/DiskLocal.h>
|
|
#include <Disks/DiskMemory.h>
|
|
#include <Disks/IDisk.h>
|
|
|
|
template <typename T>
|
|
DB::DiskPtr createDisk();
|
|
|
|
template <>
|
|
DB::DiskPtr createDisk<DB::DiskMemory>();
|
|
|
|
template <>
|
|
DB::DiskPtr createDisk<DB::DiskLocal>();
|
|
|
|
template <typename T>
|
|
void destroyDisk(DB::DiskPtr & disk);
|
|
|
|
template <>
|
|
void destroyDisk<DB::DiskLocal>(DB::DiskPtr & disk);
|
|
|
|
template <>
|
|
void destroyDisk<DB::DiskMemory>(DB::DiskPtr & disk);
|