]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
2.4 support !
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Jul 2008 19:42:42 +0000 (19:42 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Jul 2008 19:42:42 +0000 (19:42 +0000)
test/dialect/mssql.py

index 08586441581b5eaa781766b36dad6f3f8acebe89..26f8892bd8494236dcdfa0be54b91f7ca6cf5e97 100755 (executable)
@@ -257,10 +257,11 @@ def full_text_search_missing():
 
     try:
         connection = testing.db.connect()
-        connection.execute("CREATE FULLTEXT CATALOG Catalog AS DEFAULT")
-        return False
-    except:
-        return True
+        try:
+            connection.execute("CREATE FULLTEXT CATALOG Catalog AS DEFAULT")
+            return False
+        except:
+            return True
     finally:
         connection.close()