]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Correct for SQL Server temp table owner
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Sep 2020 22:48:36 +0000 (18:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Sep 2020 23:25:13 +0000 (19:25 -0400)
commit07ba8e0a37daeb4304e8fede43b13e402b01dbeb
tree03d722c94b69f2f987e03c9425d7d2aa5617ae28
parent8455a11bcc23e97afe666873cd872b0f204848d8
Correct for SQL Server temp table owner

on my machine, the owner for a temp table comes out as
dbo, and i am testing against a CI machine.  im not sure
what happens on a CI machine except perhaps that it provisions
new databases is changing things.   in any case, since we
are searching the tempdb for the name, get the schema/owner also.

Also refines the test to use a single connection and a transaction
that rolls back, doesn't hang here but let's see what CI does.

Change-Id: I522596ccc526cdab14c516b9a566ff666ac57dd6
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/mssql/test_reflection.py