From d75f22a123301fc2b6629a14e69430a856a936a1 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 13 Oct 2005 02:15:29 +0000 Subject: [PATCH] --- lib/sqlalchemy/ansisql.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sqlalchemy/ansisql.py b/lib/sqlalchemy/ansisql.py index c40383d145..95aa47cde4 100644 --- a/lib/sqlalchemy/ansisql.py +++ b/lib/sqlalchemy/ansisql.py @@ -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: -- 2.47.2