File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33set -euox pipefail
44
55# Download CockroachDB
6- VERSION=v20.2.0-beta. 3
6+ VERSION=v20.2.3
77wget -qO- https://binaries.cockroachdb.com/cockroach-$VERSION .linux-amd64.tgz | tar xvz
88readonly COCKROACH=./cockroach-$VERSION .linux-amd64/cockroach
99
@@ -21,7 +21,7 @@ run_cockroach() {
2121 cockroach quit --insecure || true
2222 rm -rf cockroach-data
2323 # Start CockroachDB.
24- cockroach start-single-node --max-sql-memory=25% --cache=25% --insecure --host=localhost --listening-url-file=" $urlfile " > /dev/null 2>&1 &
24+ cockroach start-single-node --max-sql-memory=25% --cache=25% --insecure --host=localhost --spatial-libs=./cockroach- $VERSION .linux-amd64/lib -- listening-url-file=" $urlfile " > /dev/null 2>&1 &
2525 # Ensure CockroachDB is stopped on script exit.
2626 trap " echo 'Exit routine: Killing CockroachDB.' && kill -9 $! &> /dev/null" EXIT
2727 # Wait until CockroachDB has started.
You can’t perform that action at this time.
0 commit comments