mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 11:00:35 +00:00
51 lines
756 B
C++
51 lines
756 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,
|
|
COUNTERS,
|
|
METRICS,
|
|
MIGRATIONS,
|
|
COMPACT_TABLES,
|
|
GOSSIP,
|
|
TOKEN_RESTRICTION,
|
|
LEGACY_COMPOSITE_KEYS,
|
|
COLLECTION_RANGE_TOMBSTONES,
|
|
RANGE_QUERIES,
|
|
RANGE_DELETES,
|
|
THRIFT,
|
|
VALIDATION,
|
|
REVERSED,
|
|
COMPRESSION,
|
|
NONATOMIC,
|
|
CONSISTENCY,
|
|
HINT,
|
|
};
|
|
|
|
void fail(cause what) __attribute__((noreturn));
|
|
void warn(cause what);
|
|
|
|
}
|
|
|
|
namespace std {
|
|
|
|
template <>
|
|
struct hash<unimplemented::cause> : enum_hash<unimplemented::cause> {};
|
|
|
|
}
|