Skip to content

Instantly share code, notes, and snippets.

@MichaelDrogalis
Created July 31, 2012 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelDrogalis/eecf4c8857596c73b72f to your computer and use it in GitHub Desktop.
Save MichaelDrogalis/eecf4c8857596c73b72f to your computer and use it in GitHub Desktop.
(defn- database-for! [client-id]
(let [db (create-db (mysql (assoc (-> environment-map :client-common) "db" (str client-id))))]
(default-connection db)))
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Incorrect table name ''DELETE FROM `{:table "job", :name "job", :db {:pool #<Delay@188c9e8d: :pending>, :options {:naming {:keys #<core$identity clojure.core$identity@326e48cd>, :fields #<core$identity clojure.core$identity@326e48cd>}, :delimiters [\` \`]}}}` WHERE (`job`.`id` = ?) :: [1]
MySQLSyntaxErrorException:
Message: Incorrect table name ''
SQLState: 42000
Error Code: 1103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment