              (a/update conn s-delete nil))
            (do
              (a/update conn t-insert data)
-             (a/update conn t-delete nil))
-           (do
-             (a/update conn m-insert data)
-             (a/update conn m-delete nil))))))))
+             (a/update conn t-delete nil))))))))
 
 
 (deftest bench-select

(def ^String s-delete (:sql t-delete))
(def ^String s-select (:sql t-select))

(def m-insert {:sql s-insert
               :param-keys [:name :salary :dept]
               :param-types (apply vector-of :byte (:param-types t-insert))})
(def m-delete {:sql s-delete})
(def m-select {:sql s-select
               :result-types (apply vector-of :byte (:result-types t-select))})


(deftest bench-insert-delete
  (testing "Insert and delete"

          (c/compare-perf "select-row"
            (jdbc/query db-con [s-select])
            (a/query a/fetch-rows conn s-select nil)
            (a/query a/fetch-rows conn t-select nil))))
      ;; bench c.j.j `:as-arrays? true` with asphalt
      (jdbc/with-db-connection [db-con db-spec]
        (i/with-connection [conn u/orig-ds]
          (c/compare-perf "select-row-as-arrays"
            (jdbc/query db-con [s-select] {:as-arrays? true})
            (a/query a/fetch-rows conn s-select nil)
            (a/query a/fetch-rows conn t-select nil)))))))
