cql: convert Cql.g sprint()s to fmt

The only sprint() call had an extra complication due to quoting, which can be
removed now.
This commit is contained in:
Avi Kivity
2018-10-29 12:41:52 +02:00
parent 8db8c01fbe
commit 23e05a045b

View File

@@ -253,8 +253,7 @@ struct uninitialized {
{
for (auto&& p : operations) {
if (*p.first == *key && !p.second->is_compatible_with(update)) {
// \%s is escaped for antlr
add_recognition_error(sprint("Multiple incompatible setting of column \%s", *key));
add_recognition_error(format("Multiple incompatible setting of column {}", *key));
}
}
operations.emplace_back(std::move(key), std::move(update));