Added _ as delim

Added _ as delim
This makes it so you do not have to use . when addresing structures
and since Capnproto can not use _ in its naming its fine to use.
This commit is contained in:
Odin Hultgren Van Der Horst 2019-01-09 15:24:17 +00:00
parent 68ed4d5c78
commit 96352ce78d

View File

@ -39,7 +39,7 @@ CapnProtoRowInputStream::NestedField split(const Block & header, size_t i)
if (name.size() > 0 && name[0] == '.')
name.erase(0, 1);
boost::split(field.tokens, name, boost::is_any_of("."));
boost::split(field.tokens, name, boost::is_any_of("._"));
return field;
}