From 26461bee58b39ac5229c732a3cd495c28e9bcf44 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 24 Dec 2014 12:08:38 +0200 Subject: [PATCH] db: add a "bytes" type, corresponding to ByteBuffer (serialized values) Using sstring can lead to confusion with UTF8 strings. --- database.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database.hh b/database.hh index 7fc28836bb..fce1f7e8c9 100644 --- a/database.hh +++ b/database.hh @@ -16,6 +16,8 @@ #include #include +using bytes = basic_sstring; + struct row { std::vector cells; };