From 886ddcd12db97984cdb1cc94b9abaee5df4eb6d5 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Mon, 22 Dec 2008 20:20:55 +0000 Subject: Major refactoring of the MSSQL dialect. Thanks zzzeek. Includes simplifying the IDENTITY handling and the exception handling. Also includes a cleanup of the connection string handling for pyodbc to favor the DSN syntax. --- test/sql/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sql') diff --git a/test/sql/query.py b/test/sql/query.py index 9b3d4cec5..acfe4a4b0 100644 --- a/test/sql/query.py +++ b/test/sql/query.py @@ -59,7 +59,7 @@ class QueryTest(TestBase): result = table.insert().execute(**values) ret = values.copy() - + for col, id in zip(table.primary_key, result.last_inserted_ids()): ret[col.key] = id -- cgit v1.2.1