Skip to content

Commit de15fbc

Browse files
committed
同步到1.37.0
1 parent 2a06c45 commit de15fbc

File tree

1,356 files changed

+3674967
-1878168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,356 files changed

+3674967
-1878168
lines changed

AUTHORS

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file lists authors for copyright purposes. This file is distinct from
2+
# the CONTRIBUTORS files. See the latter for an explanation.
3+
#
4+
# Names should be added to this file as:
5+
# Name or Organization <email address>
6+
#
7+
# The email address is not required for organizations.
8+
#
9+
# Please keep the list sorted.
10+
11+
Angus Dippenaar <angusdippenaar@gmail.com>
12+
Artyom Pervukhin <github@artyom.dev>
13+
Dan Kortschak <dan@kortschak.io>
14+
Dan Peterson <danp@danp.net>
15+
David Walton <david@davidwalton.com>
16+
Davsk Ltd Co <skinner.david@gmail.com>
17+
FerretDB Inc.
18+
Jaap Aarts <jaap.aarts1@gmail.com>
19+
Jan Mercl <0xjnml@gmail.com>
20+
Josh Bleecher Snyder <josharian@gmail.com>
21+
Josh Klein <josh.klein@outlook.com>
22+
Logan Snow <logansnow@protonmail.com>
23+
Michael Hoffmann <mhoffm@posteo.de>
24+
Michael Rykov <mrykov@gmail.com>
25+
Morgan Bazalgette <morgan@howl.moe>
26+
Ross Light <ross@zombiezen.com>
27+
Saed SayedAhmed <saadmtsa@gmail.com>
28+
Steffen Butzer <steffen(dot)butzer@outlook.com>
29+
Toni Spets <toni.spets@beeper.com>
30+
W. Michael Petullo <mike@flyn.org>

CONTRIBUTORS

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This file lists people who contributed code to this repository. The AUTHORS
2+
# file lists the copyright holders; this file lists people.
3+
#
4+
# Names should be added to this file like so:
5+
# Name <email address>
6+
#
7+
# Please keep the list sorted.
8+
9+
Alexander Menzhinsky <amenzhinsky@gmail.com>
10+
Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
11+
Angus Dippenaar <angusdippenaar@gmail.com>
12+
Artyom Pervukhin <github@artyom.dev>
13+
Dan Kortschak <dan@kortschak.io>
14+
Dan Peterson <danp@danp.net>
15+
David Skinner <skinner.david@gmail.com>
16+
David Walton <david@davidwalton.com>
17+
Elle Mouton <elle.mouton@gmail.com>
18+
FlyingOnion <731677080@qq.com>
19+
Gleb Sakhnov <gleb.sakhnov@gmail.com>
20+
Jaap Aarts <jaap.aarts1@gmail.com>
21+
Jan Mercl <0xjnml@gmail.com>
22+
Josh Bleecher Snyder <josharian@gmail.com>
23+
Josh Klein <josh.klein@outlook.com>
24+
Kim <grufwub@gmail.com>
25+
Logan Snow <logansnow@protonmail.com>
26+
Mario Salgado <mariozalgo@gmail.com>
27+
Mark Summerfield <mark@qtrac.eu>
28+
Matthew Gabeler-Lee <fastcat@gmail.com>
29+
Michael Hoffmann <mhoffm@posteo.de>
30+
Michael Rykov <mrykov@gmail.com>
31+
Morgan Bazalgette <morgan@howl.moe>
32+
Romain Le Disez <r.gitlab@ledisez.net>
33+
Ross Light <ross@zombiezen.com>
34+
Saed SayedAhmed <saadmtsa@gmail.com>
35+
Sean McGivern <sean@mcgivern.me.uk>
36+
Steffen Butzer <steffen(dot)butzer@outlook.com>
37+
Toni Spets <toni.spets@beeper.com>
38+
W. Michael Petullo <mike@flyn.org>
39+
Yaacov Akiba Slama <ya@slamail.org>
40+
Prathyush PV <prathyush.pv@temporal.io>

Makefile

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Copyright 2024 The Sqlite Authors. All rights reserved.
2+
# Use of this source code is governed by a BSD-style
3+
# license that can be found in the LICENSE file.
4+
5+
.PHONY: all build_all_targets clean edit editor test vendor work
6+
7+
all: editor
8+
golint 2>&1
9+
staticcheck 2>&1
10+
11+
build_all_targets:
12+
GOOS=darwin GOARCH=amd64 go test -c -o /dev/null
13+
GOOS=darwin GOARCH=amd64 go build -v ./...
14+
GOOS=darwin GOARCH=arm64 go test -c -o /dev/null
15+
GOOS=darwin GOARCH=arm64 go build -v ./...
16+
GOOS=freebsd GOARCH=amd64 go test -c -o /dev/null
17+
GOOS=freebsd GOARCH=amd64 go build -v ./...
18+
GOOS=freebsd GOARCH=386 go test -c -o /dev/null
19+
GOOS=freebsd GOARCH=386 go build -v ./...
20+
GOOS=freebsd GOARCH=arm go test -c -o /dev/null
21+
GOOS=freebsd GOARCH=arm go build -v ./...
22+
GOOS=freebsd GOARCH=arm64 go test -c -o /dev/null
23+
GOOS=freebsd GOARCH=arm64 go build -v ./...
24+
GOOS=linux GOARCH=386 go test -c -o /dev/null
25+
GOOS=linux GOARCH=386 go build -v ./...
26+
GOOS=linux GOARCH=amd64 go test -c -o /dev/null
27+
GOOS=linux GOARCH=amd64 go build -v ./...
28+
GOOS=linux GOARCH=arm go test -c -o /dev/null
29+
GOOS=linux GOARCH=arm go build -v ./...
30+
GOOS=linux GOARCH=arm64 go test -c -o /dev/null
31+
GOOS=linux GOARCH=arm64 go build -v ./...
32+
GOOS=linux GOARCH=loong64 go test -c -o /dev/null
33+
GOOS=linux GOARCH=loong64 go build -v ./...
34+
GOOS=linux GOARCH=ppc64le go test -c -o /dev/null
35+
GOOS=linux GOARCH=ppc64le go build -v ./...
36+
GOOS=linux GOARCH=riscv64 go test -c -o /dev/null
37+
GOOS=linux GOARCH=riscv64 go build -v ./...
38+
GOOS=linux GOARCH=s390x go test -c -o /dev/null
39+
GOOS=linux GOARCH=s390x go build -v ./...
40+
# GOOS=netbsd GOARCH=amd64 go test -c -o /dev/null
41+
# GOOS=netbsd GOARCH=amd64 go build -v ./...
42+
GOOS=openbsd GOARCH=amd64 go test -c -o /dev/null
43+
GOOS=openbsd GOARCH=amd64 go build -v ./...
44+
GOOS=openbsd GOARCH=arm64 go test -c -o /dev/null
45+
GOOS=openbsd GOARCH=arm64 go build -v ./...
46+
GOOS=windows GOARCH=386 go test -c -o /dev/null
47+
GOOS=windows GOARCH=386 go build -v ./...
48+
GOOS=windows GOARCH=amd64 go test -c -o /dev/null
49+
GOOS=windows GOARCH=amd64 go build -v ./...
50+
GOOS=windows GOARCH=arm64 go test -c -o /dev/null
51+
GOOS=windows GOARCH=arm64 go build -v ./...
52+
echo done
53+
54+
clean:
55+
rm -f log-* cpu.test mem.test *.out go.work*
56+
go clean
57+
58+
edit:
59+
@if [ -f "Session.vim" ]; then gvim -S & else gvim -p Makefile go.mod builder.json all_test.go & fi
60+
61+
editor:
62+
gofmt -l -s -w .
63+
go test -c -o /dev/null
64+
go build -v -o /dev/null ./...
65+
cd vendor_libsqlite3 && go build -o /dev/null main.go
66+
67+
test:
68+
go test -v -timeout 24h
69+
70+
vendor:
71+
cd vendor_libsqlite3 && go build -o ../vendor main.go
72+
./vendor
73+
rm -f vendor
74+
make build_all_targets
75+
make build_all_targets
76+
77+
work:
78+
rm -f go.work*
79+
go work init
80+
go work use .
81+
go work use ../cc/v4
82+
go work use ../ccgo/v3
83+
go work use ../ccgo/v4
84+
go work use ../libc
85+
go work use ../libtcl8.6
86+
go work use ../libsqlite3
87+
go work use ../libz

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ func main() {
2828
}
2929
~~~
3030

31+
### 更新日志
32+
2025-04-03 v1.37.0 ,同步到官方1.37.0版本,主要升级有升级到 SQLite 3.49.0,内存消耗问题,事物相关问题.
33+
2023-10-09 v1.16.1 修复对goframe支持,更新到gitlab.com/cznic/sqlite最新1.26同步.对于goframe2以下版本可能不能使用.
34+
35+
2022-3-22 v1.15.3 新增win amd64编译,解决内存泄漏问题.
36+
37+
2021-11-3 v1.13.0 新增更多系统编译,支持sqlite 3.36.0
38+
39+
3140
### goframe2.0+使用方法
3241
在manifeat/config/config.yaml配置
3342
~~~
@@ -52,10 +61,4 @@ db, _ := gdb.New(gdb.ConfigNode{
5261
db.SetDebug(true) //可以显示sql语句
5362
list, _ := db.Model("zanzhu").Where("1=1").Order("id desc").Limit(page, pagesize).All() //简单查询, 可以不用建立数据表结构体
5463
55-
~~~
56-
### 更新日志
57-
2023-10-09 v1.16.1 修复对goframe支持,更新到gitlab.com/cznic/sqlite最新1.26同步.对于goframe2以下版本可能不能使用.
58-
59-
2022-3-22 v1.15.3 新增win amd64编译,解决内存泄漏问题.
60-
61-
2021-11-3 v1.13.0 新增更多系统编译,支持sqlite 3.36.0
64+
~~~

SQLITE-LICENSE

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
SQLite Is Public Domain
2+
3+
All of the code and documentation in SQLite has been dedicated to the public
4+
domain by the authors. All code authors, and representatives of the companies
5+
they work for, have signed affidavits dedicating their contributions to the
6+
public domain and originals of those signed affidavits are stored in a firesafe
7+
at the main offices of Hwaci. Anyone is free to copy, modify, publish, use,
8+
compile, sell, or distribute the original SQLite code, either in source code
9+
form or as a compiled binary, for any purpose, commercial or non-commercial,
10+
and by any means.
11+
12+
The previous paragraph applies to the deliverable code and documentation in
13+
SQLite - those parts of the SQLite library that you actually bundle and ship
14+
with a larger application. Some scripts used as part of the build process (for
15+
example the "configure" scripts generated by autoconf) might fall under other
16+
open-source licenses. Nothing from these build scripts ever reaches the final
17+
deliverable SQLite library, however, and so the licenses associated with those
18+
scripts should not be a factor in assessing your rights to copy and use the
19+
SQLite library.
20+
21+
All of the deliverable code in SQLite has been written from scratch. No code
22+
has been taken from other projects or from the open internet. Every line of
23+
code can be traced back to its original author, and all of those authors have
24+
public domain dedications on file. So the SQLite code base is clean and is
25+
uncontaminated with licensed code from other projects.

0 commit comments

Comments
 (0)