diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-04-22 11:24:25 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-04-22 11:24:25 -0400 |
| commit | ae495c69adacdd341d4ab22df4eedbbc6cb9df8e (patch) | |
| tree | 5d6aadc70a7fa1aec4e12cd6f64cf0cbd482b18c /test/sql/test_query.py | |
| parent | 38d6c31a29b28577aabb5ae2e641cf95a3cdbc7a (diff) | |
| download | sqlalchemy-ae495c69adacdd341d4ab22df4eedbbc6cb9df8e.tar.gz | |
- Fixed bug that prevented implicit RETURNING from functioning
properly with composite primary key that contained zeroes.
[ticket:1778]
Diffstat (limited to 'test/sql/test_query.py')
| -rw-r--r-- | test/sql/test_query.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py index 80d524bf1..5a4f03311 100644 --- a/test/sql/test_query.py +++ b/test/sql/test_query.py @@ -160,6 +160,15 @@ class QueryTest(TestBase): {'id':'id1'}, {'id':'id1', 'bar':'hi'}, ), + ( + {'unsupported':['sqlite']}, + Table("t6", metadata, + Column('id', Integer, primary_key=True, test_needs_autoincrement=True), + Column('bar', Integer, primary_key=True) + ), + {'bar':0}, + {'id':1, 'bar':0}, + ), ]: if testing.db.name in supported['unsupported']: continue |
