From 052d7f36433a0c29ab20d0ea37933c03a488e12d Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Thu, 11 Dec 2008 19:24:22 +0000 Subject: Implemented experimental savepoint support in mssql. There are still some failing savepoint related tests. --- test/testlib/requires.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/testlib/requires.py') diff --git a/test/testlib/requires.py b/test/testlib/requires.py index 7b2d33beb..13d4cdf11 100644 --- a/test/testlib/requires.py +++ b/test/testlib/requires.py @@ -8,7 +8,8 @@ target database. from testlib.testing import \ _block_unconditionally as no_support, \ _chain_decorators_on, \ - exclude + exclude, \ + emits_warning_on def deferrable_constraints(fn): @@ -66,8 +67,8 @@ def savepoints(fn): """Target database must support savepoints.""" return _chain_decorators_on( fn, + emits_warning_on('mssql', 'Savepoint support in mssql is experimental and may lead to data loss.'), no_support('access', 'FIXME: guessing, needs confirmation'), - no_support('mssql', 'FIXME: guessing, needs confirmation'), no_support('sqlite', 'not supported by database'), no_support('sybase', 'FIXME: guessing, needs confirmation'), exclude('mysql', '<', (5, 0, 3), 'not supported by database'), -- cgit v1.2.1