From 3ec65bd1980299cf8aca2897a456594d35c218a1 Mon Sep 17 00:00:00 2001 From: "Alexander K. Hudek" Date: Tue, 17 May 2016 14:37:39 -0400 Subject: [PATCH] Treat numbers as paramterized values to fix issues with NaN, Infinity, and -Infinity. --- src/honeysql/format.clj | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/honeysql/format.clj b/src/honeysql/format.clj index 79efdc3..974819d 100644 --- a/src/honeysql/format.clj +++ b/src/honeysql/format.clj @@ -290,8 +290,6 @@ (quote-identifier x)))) clojure.lang.Symbol (to-sql [x] (quote-identifier x)) - java.lang.Number - (to-sql [x] (str x)) java.lang.Boolean (to-sql [x] (if x "TRUE" "FALSE"))