From: Mike Bayer Date: Thu, 13 Oct 2005 02:15:29 +0000 (+0000) Subject: (no commit message) X-Git-Tag: rel_0_1_0~562 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d75f22a123301fc2b6629a14e69430a856a936a1;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git --- 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: