From 002285a5af60b82636aa8c3ce14829f6fa1e8129 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Thu, 16 Nov 2023 22:36:21 -0800 Subject: [PATCH] revert quoting changes --- src/honey/sql.cljc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/honey/sql.cljc b/src/honey/sql.cljc index cc99359..6293556 100644 --- a/src/honey/sql.cljc +++ b/src/honey/sql.cljc @@ -138,9 +138,6 @@ ;; in entities; if someone complains about this check, an option ;; can be added to format to turn this on: (def ^:private ^:dynamic *allow-suspicious-entities* false) -;; adding this as an experimental approach for #514 -- will become private -;; and an option added if this works out: -(def ^:dynamic *always-quote* nil) ;; "linting" mode (:none, :basic, :strict): (def ^:private ^:dynamic *checking* @default-checking) ;; the current DSL hash map being formatted (for clause-body / contains-clause?): @@ -274,9 +271,6 @@ (fn opt-quote [part] (cond (re-find alphanumeric part) part - (and *always-quote* - (re-find *always-quote* part)) - (dialect-q part) :else (dialect-q part))) :else