blob: 9e1a8db3595e84c46a977d970cdf806777f0ba15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#include <Core/BaseSettings.h>
namespace DB
{
class ASTStorage;
#define MEMORY_SETTINGS(M, ALIAS) \
M(Bool, compress, false, "Compress data in memory", 0) \
DECLARE_SETTINGS_TRAITS(memorySettingsTraits, MEMORY_SETTINGS)
/** Settings for the Memory engine.
* Could be loaded from a CREATE TABLE query (SETTINGS clause).
*/
struct MemorySettings : public BaseSettings<memorySettingsTraits>
{
void loadFromQuery(ASTStorage & storage_def);
};
}
|