From b7e3914632fb950ac825f54b8c6613b040dffa5d Mon Sep 17 00:00:00 2001
From: Cam Saul <cammsaul@gmail.com>
Date: Tue, 2 Apr 2019 18:44:29 -0700
Subject: [PATCH] Make metabase.db/connection-pool private

---
 src/metabase/db.clj | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/metabase/db.clj b/src/metabase/db.clj
index 9e7a49c701e..d490bdaead3 100644
--- a/src/metabase/db.clj
+++ b/src/metabase/db.clj
@@ -348,7 +348,7 @@
    "initialPoolSize" 1
    "maxPoolSize"     15})
 
-(defn connection-pool
+(defn- new-connection-pool
   "Create a C3P0 connection pool for the given database `spec`."
   [spec]
   (connection-pool/connection-pool-spec spec application-db-connection-pool-properties))
@@ -358,7 +358,7 @@
                                    :postgres :ansi
                                    :h2       :h2
                                    :mysql    :mysql))
-  (db/set-default-db-connection! (connection-pool spec)))
+  (db/set-default-db-connection! (new-connection-pool spec)))
 
 
 ;;; +----------------------------------------------------------------------------------------------------------------+
-- 
GitLab