cosmopolitan/third_party/sqlite3
Justine Tunney 5144c22189 Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs
- Use nullness checks when calling weakly linked functions.

- Avoid typedef for reasons described in Linux Kernel style guide.

- Avoid enum in in Windows headers. Earlier in Cosmo's history all one
  hundred files in libc/nt/enum/ used to be enums and it resulted in
  gigabytes of DWARF data almost as large as everything else in the
  codebase combined.

- Bitfields aren't our friends. They have frequent ABI breakages,
  inconsistent arithmetic across compilers, and different endianness
  between cpus. Compiler authors also haven't invested much roi into
  making bit fields go fast so they produce poor assembly.

- Use memccpy() instead of strncpy() or snprintf() for length-bounded
  copying of C strings. strncpy() is a misunderstood function and
  snprintf() is awesome but memccpy() deserves more love.
2021-06-25 18:44:04 -07:00
..
alter.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
analyze.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
attach.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
auth.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
backup.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
bitvec.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
btmutex.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
btree.c Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
btree.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
btreeInt.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
build.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
callback.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
complete.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
ctime.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
date.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
dbpage.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
dbstat.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
delete.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
expr.c Tune SQLite build for redbean (#97) 2021-06-10 08:00:08 -07:00
fault.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fkey.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_aux.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_expr.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_hash.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_hash.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_icu.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_porter.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_snippet.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_tokenize_vtab.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_tokenizer.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_tokenizer.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_tokenizer1.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_unicode.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_unicode2.c Get SQLite to build 2021-05-14 02:40:04 -07:00
fts3_write.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3Int.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts5.c Get SQLite to build 2021-05-14 02:40:04 -07:00
fts5.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
func.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
geopoly.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
global.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
hash.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
hash.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
hwtime.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
icu.c Get SQLite to build 2021-05-14 02:40:04 -07:00
insert.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
inttypes.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
json1.c Get SQLite to build 2021-05-14 02:40:04 -07:00
keywordhash.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
legacy.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
loadext.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
main.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
malloc.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem0.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem1.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem2.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem3.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem5.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
memdb.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
memjournal.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
msvc.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mutex.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mutex.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mutex_noop.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mutex_unix.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
notify.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
opcodes.c Get SQLite to build 2021-05-14 02:40:04 -07:00
opcodes.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os_common.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os_setup.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os_unix.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os_win.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pager.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pager.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
parse.c Tune SQLite build for redbean (#97) 2021-06-10 08:00:08 -07:00
parse.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pcache.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pcache.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pcache1.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pragma.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pragma.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
prepare.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
printf.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
random.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
resolve.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
rowset.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
rtree.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
rtree.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
select.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
shell.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
shell.c.in Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3.h Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3.mk Add SSL to redbean 2021-06-24 13:20:50 -07:00
sqlite3ext.h Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3rbu.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3rbu.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3rtree.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3session.c Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
sqlite3session.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3userauth.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqliteicu.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqliteInt.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqliteLimit.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
status.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
stmt.c Get SQLite to build 2021-05-14 02:40:04 -07:00
table.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
threads.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
tokenize.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
tokenizer.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
treeview.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
trigger.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
update.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
upsert.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
userauth.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
utf.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
util.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vacuum.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbe.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbe.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbeapi.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbeaux.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbeblob.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbeInt.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbemem.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbesort.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbetrace.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbevtab.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vtab.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vxworks.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
wal.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
wal.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
walker.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
where.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
wherecode.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
whereexpr.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
whereInt.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
window.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00