Fixed exception text

This commit is contained in:
Gleb Novikov 2019-06-06 00:25:48 +03:00
parent b8385aae8c
commit 375e464086

View File

@ -13,7 +13,7 @@ void CheckConstraintsBlockOutputStream::write(const Block & block)
{ {
auto constraint_expr = expressions[i]; auto constraint_expr = expressions[i];
if (!checkConstraintOnBlock(block, constraint_expr)) if (!checkConstraintOnBlock(block, constraint_expr))
throw Exception{"Constraint " + constraints.constraints[i]->name + " is not satisfied at, constraint expression: " + throw Exception{"Constraint " + constraints.constraints[i]->name + " is not satisfied, constraint expression: " +
serializeAST(*(constraints.constraints[i]->expr), true), ErrorCodes::LOGICAL_ERROR}; serializeAST(*(constraints.constraints[i]->expr), true), ErrorCodes::LOGICAL_ERROR};
} }
output->write(block); output->write(block);