From ae495c69adacdd341d4ab22df4eedbbc6cb9df8e Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 22 Apr 2010 11:24:25 -0400 Subject: - Fixed bug that prevented implicit RETURNING from functioning properly with composite primary key that contained zeroes. [ticket:1778] --- test/sql/test_query.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/sql/test_query.py') 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 -- cgit v1.2.1