-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump SQLite + Cloud-Backed SQLite to latest version
- Loading branch information
1 parent
bec9427
commit 2f56d80
Showing
6 changed files
with
18,466 additions
and
8,061 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,38 @@ | ||
#!/bin/sh | ||
|
||
VERSION=8535bc08c4 | ||
CBS_VERSION=060e73c89a | ||
SQLITE_VERSION=3460000 | ||
|
||
wget -qO ./tmp.zip https://sqlite.org/cloudsqlite/zip/${VERSION}/cloudsqlite-${VERSION}.zip | ||
# Download and install cloud-backed-sqlite | ||
wget -qO ./tmp.zip https://sqlite.org/cloudsqlite/zip/${CBS_VERSION}/cloudsqlite-${CBS_VERSION}.zip | ||
unzip ./tmp.zip | ||
rm tmp.zip | ||
|
||
rm -f *.c | ||
rm -f *.h | ||
cp -f ./cloudsqlite-${VERSION}/src/bcv_int.h ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/bcvutil.c ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/bcvutil.h ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/bcvmodule.c ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/bcvmodule.h ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/blockcachevfs.c ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/blockcachevfs.h ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/simplexml.c ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/simplexml.h ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/bcvencrypt.c ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/bcvencrypt.h ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/bcvlog.c ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/sqlite3.c ./ | ||
cp -f ./cloudsqlite-${VERSION}/src/sqlite3.h ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/bcv_int.h ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/bcvutil.c ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/bcvutil.h ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/bcvmodule.c ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/bcvmodule.h ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/blockcachevfs.c ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/blockcachevfs.h ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/simplexml.c ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/simplexml.h ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/bcvencrypt.c ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/bcvencrypt.h ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/bcvlog.c ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/sqlite3.c ./ | ||
cp -f ./cloudsqlite-${CBS_VERSION}/src/sqlite3.h ./ | ||
|
||
rm -rf ./cloudsqlite-${VERSION} | ||
rm -rf ./cloudsqlite-${CBS_VERSION} | ||
|
||
# Download sqlite and upgrade the default sqlite version shipped with cloud-backed-sqlite | ||
wget -qO ./tmp.zip https://sqlite.org/2024/sqlite-amalgamation-${SQLITE_VERSION}.zip | ||
unzip ./tmp.zip | ||
rm tmp.zip | ||
|
||
cp -f ./sqlite-amalgamation-${SQLITE_VERSION}/sqlite3.c ./ | ||
cp -f ./sqlite-amalgamation-${SQLITE_VERSION}/sqlite3.h ./ | ||
|
||
rm -rf ./sqlite-amalgamation-${SQLITE_VERSION} |
Oops, something went wrong.