mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 05:26:58 +00:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user