]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
(no commit message)
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 13 Oct 2005 02:15:29 +0000 (02:15 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 13 Oct 2005 02:15:29 +0000 (02:15 +0000)
lib/sqlalchemy/ansisql.py

index c40383d145cb1c47d6fb5b4e5e85f27ce1cf9599..95aa47cde42b33e0209ddb8b33c8893538952fce 100644 (file)
@@ -101,6 +101,9 @@ class ANSICompiler(sql.Compiled):
             self.strings[textclause] = "(" + textclause.text + ")"
         else:
             self.strings[textclause] = textclause.text
+
+    def visit_null(self, null):
+        self.strings[null] = 'NULL'
        
     def visit_compound(self, compound):
         if compound.operator is None: