Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ujihisa committed Apr 4, 2013
1 parent 67a9aaa commit 3aeb189
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/postgres_lingrbot/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
(clojure.string/join "" (take 500 result-str))
(count result-str))
result-str)))]
(format "columns: %d, rows: %d" (count (first results)) (count results))
(when (< 0 (count results))
(format "columns: %d, rows: %d" (count (first results)) (count results)))
#_(if (and
(= 1 (count results))
(= 1 (count (first results))))
Expand Down

0 comments on commit 3aeb189

Please sign in to comment.