aboutsummaryrefslogtreecommitdiff
path: root/bench/sqlite/src
diff options
context:
space:
mode:
Diffstat (limited to 'bench/sqlite/src')
-rw-r--r--bench/sqlite/src/download.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/bench/sqlite/src/download.sh b/bench/sqlite/src/download.sh
new file mode 100644
index 000000000..d70cff3ca
--- /dev/null
+++ b/bench/sqlite/src/download.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+set -euo pipefail
+
+if [ -f src/northwind.sqlite ]; then
+ exit 0
+fi
+
+curl -LJO https://raw.githubusercontent.com/jpwhite3/northwind-SQLite3/master/Northwind_large.sqlite.zip
+
+unzip Northwind_large.sqlite.zip
+
+rm Northwind_large.sqlite.zip
+mv Northwind_large.sqlite src/northwind.sqlite
+
+rm -rf __MACOSX
+rm -rf Northwind* || echo "" \ No newline at end of file