]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixed missing return statement which caused render_literal_value to choke
authorBrad Allen <bradallen137@gmail.com>
Thu, 18 Mar 2010 22:47:52 +0000 (16:47 -0600)
committerBrad Allen <bradallen137@gmail.com>
Thu, 18 Mar 2010 22:47:52 +0000 (16:47 -0600)
lib/sqlalchemy/dialects/mssql/base.py

index 5a5cda7a9b5d37a4ed62bb19ca9c0a1de61a1c90..c7713ac4d06d0195e16ecaaf1bb633cc6f5e38ba 100644 (file)
@@ -1081,7 +1081,7 @@ class MSSQLStrictCompiler(MSSQLCompiler):
             # SQL Server wants single quotes around the date string.
             return "'" + str(value) + "'"
         else:
-            MSSQLCompiler.render_literal_value(self, value, type_)
+            return super(MSSQLStrictCompiler, self).render_literal_value(value, type_)
 
 class MSDDLCompiler(compiler.DDLCompiler):
     def get_column_specification(self, column, **kwargs):