Skip to content

Commit

Permalink
cockroach: update use of SPLIT AT
Browse files Browse the repository at this point in the history
The syntax of SPLIT AT is being changed in
cockroachdb/cockroach#14281.
  • Loading branch information
RaduBerinde committed Mar 31, 2017
1 parent 2d73813 commit b9a6d1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cockroachdb/full.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lein do clean, run test \
--tarball http://aphyr.com/media/cockroach-2016-10-27.tar.bz2 \
--tarball http://aphyr.com/media/cockroach-2017-03-30.tar.bz2 \
--username admin \
--nodes-file ~/nodes \
--test sets \
Expand Down
2 changes: 1 addition & 1 deletion cockroachdb/src/jepsen/cockroach/client.clj
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
(defn split!
"Split the given table at the given key."
[conn table k]
(query conn [(str "alter table " (name table) " split at ("
(query conn [(str "alter table " (name table) " split at values ("
(if (number? k)
k
(str "'" k "'"))
Expand Down
2 changes: 1 addition & 1 deletion cockroachdb/src/jepsen/cockroach/runner.clj
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
:parse-fn #(Long/parseLong %)
:validate [pos? "Must be positive"]]

(jc/tarball-opt "https://binaries.cockroachdb.com/cockroach-beta-20160829.linux-amd64.tgz")])
(jc/tarball-opt "https://binaries.cockroachdb.com/cockroach-beta-20170330.linux-amd64.tgz")])

(defn log-test
[t]
Expand Down

0 comments on commit b9a6d1c

Please sign in to comment.