diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-30 18:23:21 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-30 18:23:21 -0400 |
commit | 502152de2a77d213489d9652f1779dffde1e6d7b (patch) | |
tree | 4c0fb75fb93775e83fc8b9b103ea85b3cc730dc5 /lib/sqlalchemy/testing/suite/test_insert.py | |
parent | 061d5cfab13c1e9e5546248ea48178cafbebb7a5 (diff) | |
download | sqlalchemy-502152de2a77d213489d9652f1779dffde1e6d7b.tar.gz |
mssql: - [bug] Fixed bug where reflection of primary key constraint
would double up columns if the same constraint/table
existed in multiple schemas.
- force returns_rows to False for inserts where we know rows shouldnt be returned;
allows post_exec() to use the cursor without issue
Diffstat (limited to 'lib/sqlalchemy/testing/suite/test_insert.py')
-rw-r--r-- | lib/sqlalchemy/testing/suite/test_insert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_insert.py b/lib/sqlalchemy/testing/suite/test_insert.py index 53a70e0c6..0a9896ffb 100644 --- a/lib/sqlalchemy/testing/suite/test_insert.py +++ b/lib/sqlalchemy/testing/suite/test_insert.py @@ -103,7 +103,7 @@ class InsertBehaviorTest(fixtures.TablesTest): ) assert r.closed assert r.is_insert - assert r.returns_rows + assert not r.returns_rows __all__ = ('InsertSequencingTest', 'InsertBehaviorTest') |