This should really be generated by the build scripts, but since we haven't even discussed any versioning scheme, I'm introducing the functions here - they are needed to populate some system tables, and later on we can make them return the right thing. Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
15 lines
209 B
C++
15 lines
209 B
C++
#pragma once
|
|
|
|
#include "core/sstring.hh"
|
|
|
|
namespace version {
|
|
inline const int native_protocol() {
|
|
return 3;
|
|
}
|
|
|
|
inline const sstring& release() {
|
|
static sstring v = "SeastarDB v0.1";
|
|
return v;
|
|
}
|
|
}
|