0
0
mirror of https://gitlab.com/cznic/sqlite.git synced 2025-07-22 00:29:16 +00:00

124 Commits

Author SHA1 Message Date
Jan Mercl
929c3e8f8d WIPS 2025-03-29 14:50:51 +01:00
Jan Mercl
ee363a40d5 WIPS 2025-03-29 14:27:47 +01:00
Jan Mercl
51e9acb4c6 WIPS 2025-03-29 14:24:11 +01:00
Jan Mercl
c6978844da WIPS 2025-03-29 12:07:33 +01:00
Jan Mercl
9c4648866d linux/arm64: patch libc bug at runtime, updates #199 2024-12-16 13:18:09 +01:00
Jan Mercl
8406fdaa4d Update change log 2024-11-16 12:52:20 +01:00
Jan Mercl
ad49d64f87 retract v1.33.0 2024-09-12 16:57:37 +02:00
Jan Mercl
8794efa65d use internal/libc, updates #177 2024-09-04 11:57:58 +02:00
Jan Mercl
b550c209d5 replace modernc.org/libc => ./internal/libc, updates #177 2024-09-03 18:26:18 +02:00
Jan Mercl
2708c0b7cc vendor libsqlite3@v1.5.2 2024-07-22 08:07:14 +02:00
Jan Mercl
d9a0871aa7 revert to v1.30.1 2024-07-10 14:14:25 +02:00
Jan Mercl
8353ae572f vendor libsqlite3@v1.5.0, support windows/386 2024-07-08 14:38:42 +02:00
Jan Mercl
4f4c689c06 $ make vendor # libsqlite3@v1.4.0 2024-06-01 15:59:12 +02:00
Jan Mercl
7a880353bc $ make vendor (libsqlite3@v1.3.0) 2024-05-17 22:14:00 +02:00
Jan Mercl
ab5c3804d8 remove all traces of mattn/go-sqlite3
TIL that 'go get example.com/foo' downloads only what the respective
package requires, but 'go mod tidy' will also download test-only
dependencies.

If needed, the CGo dependencies can be revived in a separate
repository/module. For now just delete it.

h/t: Dan Kortschak
2024-04-22 17:25:00 +02:00
Jan Mercl
86f4fa0138 upgrade to SQLite 3.45.3 2024-04-18 13:47:31 +02:00
Jan Mercl
2baa790963 upgrade to SQLite 3.45.2, support linux/loong64 2024-04-15 14:02:08 +02:00
Jan Mercl
97ef87e15f add TestSingleConn, updates !69 2024-03-16 19:30:39 +01:00
Jan Mercl
f689cfb3ed relase 1.30.0, support linux/loong64 2024-03-15 20:26:08 +01:00
Jan Mercl
f293f7fe74 vendor libsqlite3@v1.1.0, closes #173 2024-03-07 11:57:25 +01:00
Jan Mercl
bbe031558e skip recursive -race test on unsupported targets 2024-03-02 09:32:18 +01:00
Jan Mercl
075768b466 restore more ./lib types 2024-02-14 13:04:44 +01:00
Jan Mercl
20b7633f99 upgrade supported targets to SQLite 3.45.1 /2 2024-02-10 11:03:59 +01:00
Jan Mercl
11df50cb78 upgrade supported targets to SQLite 3.45.1 2024-02-07 14:26:13 +01:00
Jan Mercl
bcf2a0e77c all: enable SQLITE_ENABLE_DBSTAT_VTAB 2023-07-31 22:09:36 +02:00
Jan Mercl
98ebea227c linux/amd64: try enabling SQLITE_ENABLE_DBSTAT_VTAB 2023-07-31 09:11:07 +02:00
Jan Mercl
b82b94e968 revert tip to v1.23.1, updates #154 2023-07-01 16:17:25 +02:00
Jan Mercl
2a8ff5d5e8 SQLite 3.42, 28 errors out of 839686 tests on linux/amd64 2023-06-10 23:01:20 +02:00
Alexey Palazhchenko
129378c6d1 Fix a data race in lib/mutex.go
Closes #148.
2023-06-02 14:29:30 +04:00
Jan Mercl
df33b8d151 upgrade to SQLite 3.41.2 2023-03-27 16:18:28 +02:00
Jan Mercl
afd4eec699 upgrade to SQLite 3.41.0 2023-02-23 14:46:00 +01:00
Ross Light
94010ac01f Export Sqlite3_index* structs 2023-02-20 08:11:14 -08:00
Josh Bleecher Snyder
c0ed312986 lib: allocate static mutexes from the pool
This further simplifies the code.
It also removes a branch from the mutex lookup code,
at the code of adding bounds checks to the static mutex lookups.
2023-01-04 18:30:44 -08:00
Josh Bleecher Snyder
c718117e97 lib: use less unsafe for mutexes
We can concoct any scheme we like for mapping
between uintptrs and mutexes.

Instead of using unsafe to map between actual pointers and uintptrs,
use a simple numbering scheme. Zero means nil. The next 12 ints
correspond to sqlite's 12 built-in mutexes. Everything after that
is an index into the mutex pool, appropriately shifted by 12.

This makes vet happy and makes the pointer checker happy.

It adds instructions and branches to the mutex acquisition path,
which is definitely unfortunate. In exchange, though,
we get simplicity, safety, and easy to reason about mutex "pointers".
2023-01-04 18:26:21 -08:00
Jan Mercl
343988cb93 upgrade to SQLite 3.40.1 2022-12-28 23:26:14 +01:00
Jan Mercl
76945bb9b2 upgrade to SQLite 3.40, remove -DSQLITE_ENABLE_SNAPSHOT from testConfig,
updates #117
2022-11-27 19:06:03 +01:00
Jan Mercl
e3f73e1fd2 silence the race detector. updates #115, closes #62 2022-11-01 16:09:36 +01:00
Jan Mercl
30423ea007 upgrade to SQLite 3.39.4 2022-10-12 16:30:59 +02:00
Jan Mercl
4f736b77bf openbsd/arm64: generate 2022-09-20 16:09:38 +02:00
Jan Mercl
1b683acc8b support freebsd/arm64.2
Remove some stuff we can temporarily live without to make the tag
download < the 500MB limit.
2022-09-17 21:42:27 +02:00
Jan Mercl
fd7b2cc5b3 support freebsd/arm64 2022-09-15 11:30:54 +02:00
Jan Mercl
af5809db50 freebsd/arm: generate 2022-09-11 22:48:46 +02:00
Jan Mercl
eff53efe1b upgrade to SQLite 3.39.3 2022-09-06 22:18:10 +02:00
Jan Mercl
282bdb12f8 upgrade to SQLite 3.39.2 2022-08-10 08:49:05 +02:00
Jan Mercl
b1c8c56ec3 upgrade to SQLite 3.38.5 2022-05-07 22:41:21 +02:00
Jan Mercl
f2c77c5fed upgrade to SQLite 3.38.3 2022-05-02 16:41:55 +02:00
Jan Mercl
cab226afc1 disable the (unused) zipfile extension 2022-04-22 11:30:46 +02:00
Jan Mercl
9b576c1859 support windows/arm64 2022-04-13 09:39:34 +02:00
Michael Hoffmann
a922751947 driver: add a way to register scalar functions 2022-04-03 15:57:52 +02:00
Jan Mercl
d6f9fa5f96 upgrade to SQLite 3.38.2 2022-03-28 14:25:37 +02:00