Skip to content

Commit a8e3606

Browse files
authored
Bump sqlite to version 3.37.0 (#176)
1 parent fc71aa6 commit a8e3606

File tree

4 files changed

+8469
-6397
lines changed

4 files changed

+8469
-6397
lines changed

bin/download_sqlite.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
35
# https://sqlite.org/chronology.html
46
# https://sqlite.org/download.html
57
# https://www.sqlite.org/src/timeline?r=version-3.36.0
68
# VERSION consists of 7 digits, like:3350000 for "3.35.5" or 3360000 for "3.36.0"
79

8-
VERSION=3360000 # 3.36.0
10+
VERSION=3370000 # 3.37.0
911

1012
mkdir -p tmp
1113
pushd tmp
1214

1315
wget https://sqlite.org/2021/sqlite-autoconf-$VERSION.tar.gz
1416

1517
tar xvfz sqlite-autoconf-$VERSION.tar.gz
16-
cd sqlite-autoconf-$VERSION
1718

18-
cp sqlite3.c ../../c_src/
19-
cp sqlite3.h ../../c_src/
20-
cp sqlite3ext.h ../../c_src/
19+
cp sqlite-autoconf-$VERSION/sqlite3.c ../c_src/
20+
cp sqlite-autoconf-$VERSION/sqlite3.h ../c_src/
21+
cp sqlite-autoconf-$VERSION/sqlite3ext.h ../c_src/
22+
23+
rm -rf sqlite-autoconf-*
2124

22-
rm -rf tmp/*
25+
popd
2326

2427
echo "UPDATED SQLITE C CODE TO $VERSION!"

0 commit comments

Comments
 (0)