Skip to content

lower case table doesnt guard against column from other table copied in #5618

Closed
@zzzeek

Description

@zzzeek

as noticed in #5617, metadata works, but lower cases dont guard:

from sqlalchemy import *


c1 = column('x', Integer)
c2 = column('y', Integer)

t = table('t', c1, c2)

t2 = table('t2', c1, c2)

t.c.x is t2.c.x



m = MetaData()


c1 = Column('x', Integer)
c2 = Column('y', Integer)

t = Table('t', m, c1, c2)

t2 = Table('t2', m, c1, c2)

t.c.x is t2.c.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsql

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions