This commit is contained in:
chertus 2019-01-25 18:48:53 +03:00
parent 091efcda95
commit 9539467b59

View File

@ -54,7 +54,7 @@ std::vector<ASTPtr *> TranslateQualifiedNamesMatcher::visit(ASTIdentifier & iden
{
if (IdentifierSemantic::getColumnName(identifier))
{
bool best_table_pos = 0;
size_t best_table_pos = 0;
size_t best_match = 0;
for (size_t i = 0; i < data.tables.size(); ++i)
if (size_t match = IdentifierSemantic::canReferColumnToTable(identifier, data.tables[i]))