Files
scylladb/unimplemented.hh
Pekka Enberg 2bff7888b6 unimplemented: Add MIGRATIONS
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
2015-03-12 10:29:51 +02:00

43 lines
619 B
C++

/*
* Copyright 2015 Cloudius Systems
*/
#pragma once
#include <iostream>
#include "core/print.hh"
#include "core/sstring.hh"
#include "core/enum.hh"
namespace unimplemented {
enum class cause {
INDEXES,
LWT,
PAGING,
AUTH,
PERMISSIONS,
TRIGGERS,
COLLECTIONS,
COUNTERS,
METRICS,
MIGRATIONS,
COMPACT_TABLES,
GOSSIP,
TOKEN_RESTRICTION,
LEGACY_COMPOSITE_KEYS,
RANGE_QUERIES
};
void fail(cause what) __attribute__((noreturn));
void warn(cause what);
}
namespace std {
template <>
struct hash<unimplemented::cause> : enum_hash<unimplemented::cause> {};
}