From d1cfe90f5d83babdeb934623b8f486e7be505527 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Tue, 22 Mar 2016 00:37:07 +0100 Subject: [PATCH] Another MS SQL index filter fix. The common lisp default printer is nice enough to know how to print symbols as strings, but that won't cut it when the symbol :is-not-null needs to be printed out "is not null", without the dashes. See #365. --- src/sources/mssql/mssql-index-filters.lisp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sources/mssql/mssql-index-filters.lisp b/src/sources/mssql/mssql-index-filters.lisp index bc0d055..3ef244f 100644 --- a/src/sources/mssql/mssql-index-filters.lisp +++ b/src/sources/mssql/mssql-index-filters.lisp @@ -42,6 +42,8 @@ (list (destructuring-bind (op id &optional arg) node (case op + (:is-null (format s "~a IS NULL" id)) + (:is-not-null (format s "~a IS NOT NULL" id)) (:between (format s "~a between ~a and ~a" id (first arg) (second arg)))