Skip to content

Commit 7c7af88

Browse files
author
James Cor
committed
don't always uppercase information schema
1 parent a5fe3d6 commit 7c7af88

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sql/planbuilder/scope.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -613,10 +613,6 @@ func (c scopeColumn) unwrapGetFieldAliasId() columnId {
613613
}
614614

615615
func (c scopeColumn) withOriginal(col string) scopeColumn {
616-
if !strings.EqualFold(c.db, sql.InformationSchemaDatabaseName) {
617-
// info schema columns always presented as uppercase
618-
c.originalCol = col
619-
}
620616
return c
621617
}
622618

0 commit comments

Comments
 (0)