Skip to content

Commit

Permalink
Regression in Joins, where alias were outputted as the table name
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Sep 12, 2014
1 parent e8ce71d commit 77415a6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions dg.Sql/Sql/Query/Builders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,7 @@ private void BuildJoin(StringBuilder sb, ConnectorBase connection)
sb.Append(connection.EncloseFieldName(join.RightTableSchema.DatabaseOwner));
sb.Append('.');
}
if (join.RightTableAlias != null)
{
sb.Append(connection.EncloseFieldName(join.RightTableAlias));
}
else
{
sb.Append(connection.EncloseFieldName(join.RightTableSchema.SchemaName));
}
sb.Append(connection.EncloseFieldName(join.RightTableSchema.SchemaName));
}
else
{
Expand Down

0 comments on commit 77415a6

Please sign in to comment.