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

(a/defsql t-delete "DELETE FROM emp")
(a/defsql t-select "SELECT ^string name, ^int salary, ^string dept FROM emp")

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

          (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)
            (a/query a/fetch-rows conn r-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)
            (a/query a/fetch-rows conn r-select nil)))))))
