fixed column literal
This commit is contained in:
parent
93785a6bc2
commit
cb95b974fc
|
|
@ -19,7 +19,7 @@ column operator ""_col(const char *name, size_t len) {
|
|||
throw std::invalid_argument("Invalid column name: multiple dots found");
|
||||
}
|
||||
|
||||
return column{str.substr(0, pos), str.substr(pos + 1)};
|
||||
return column{table{str.substr(0, pos)}, str.substr(pos + 1)};
|
||||
}
|
||||
|
||||
column::column(const char *name, const std::string& as)
|
||||
|
|
|
|||
Loading…
Reference in New Issue