/
niceSOFT
/
sqlite
ОбзорДокументацияВойти
/
niceSOFT
/
sqlite
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
sqlite/
src/
..
alter.c

Clarify some malloc size computations to simplify the proof that they are safe. Remove some code associated with cygwin that is marked "#if 0".

год назад
analyze.c

Back out the "low-quality index" query planner hack of check-in [bcac937526d9a6ef]. Subsequent query planner enhancements for dealing with star-queries make that change unnecessary and the change was recently found to cause a performance regression in an unrelated query. Also fix a typo in a debugging message.

год назад
attach.c

Merge latest changes from trunk into this branch.

год назад
auth.c

Remove the never-used and never-documented and long-ago deprecated user-authentication feature option.

2 года назад
backup.c

Fix a segfault that could occur if a non-empty in-memory database was the destination of a backup operation from a database with a smaller page size.

3 года назад
bitvec.c

Tamp down various harmless compiler warnings. Use "int" in places instead of "u16" or "i16" since the compiler complains less and generates faster code.

год назад
btmutex.c

Tamp down various harmless compiler warnings. Use "int" in places instead of "u16" or "i16" since the compiler complains less and generates faster code.

год назад
btree.c

Tamp down various harmless compiler warnings. Use "int" in places instead of "u16" or "i16" since the compiler complains less and generates faster code.

год назад
btree.h

New assert() statements to validate OP_OpenEphemeral logic.

2 года назад
btreeInt.h

Tamp down various harmless compiler warnings. Use "int" in places instead of "u16" or "i16" since the compiler complains less and generates faster code.

год назад
build.c

Fix an off-by-one error in an assert(), discovered by oss-fuzz. This is a harmless error in as much as assert()s are disabled in production builds, and because the off-by-one only occurs on nonsensical CREATE INDEX statements.

год назад
callback.c

The FuncDev.nArg field values -3 and -4 now have special meansing of 1 or more or 2 or more arguments, respectively. This saves space in the built-in function table, resulting in slightly faster performance and a reduced binary size.

2 года назад
complete.c

Enhance ability to debug out-of-memory errors.

10 лет назад
date.c

Approximately 100 typo corrections spanning the whole tree, submitted via [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text.

год назад
dbpage.c

Fix a problem in the sqlite_dbpage() table-valued function when it is trying to truncate a file in locking-mode=EXCLUSIVE and the file was obtained via sqlite3_deserialize(). Problem found by dbsqlfuzz.

год назад
dbstat.c

Add the SQLITE_INDEX_SCAN_HEX bit to the sqlite3_index_info.idxFlags bitmask. When set, this bit causes the EXPLAIN QUERY PLAN output to show the idxNum value in hex rather than in decimal. This is purely a debugging aid.

2 года назад
delete.c

New assert()s to help verify union access. No logic changes. Testing and validation code only.

2 года назад
expr.c

Fix a bug in the NOT NULL/IS NULL optimization of check-in [cb94350185f555c3] that can cause invalid data to be used for a column if that column has a CHECK constraint that includes the NOT NULL or IS NULL operator. Problem discovered by the [https://issues.chromium.org/issues/415397143|Chromium fuzzer]. Never seen in the wild, as far as anybody knows.

год назад
fault.c

Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE.

10 лет назад
fkey.c

Tighter checking of access constraints on union members in SrcItem. Improved invariant checking.

2 года назад
func.c

Internal doc typo fixes reported in [forum:01d15f21b6|forum post 01d15f21b6].

год назад
global.c

Remove all code that makes use of the C-language "long double" datatype.

2 года назад
hash.c

Fix GCC-isms and compiler warnings introduced by recent check-ins [c56092507c967230] and [6e57848fe1e0e2b5].

2 года назад
hash.h

Improvements to the hash table used to store symbols in the schema, so that it works better (requires fewer calls to sqlite3StrICmp()) for large schemas, and uses less code space.

2 года назад
hwtime.h

Add a C-source spell-checking facility. make misspell (on Nix)

3 года назад
in-operator.md

Refactor the sqlite3ExprCodeIN() routine for improved maintainability.

10 лет назад
insert.c

Remove unnecessary "www." prefixes on domain names in URLs.

год назад
json.c

Change json_group_object() so that it ignores entries where the label is NULL. [forum:/forumpost/e5bd251fb5|Forum post e5bd251fb5].

год назад
legacy.c

Ensure that the sqlite3_exec() callback gets the correct number of columns for a query, even if the schema changes out from under it.

8 лет назад
loadext.c

Make the new sqlite3_setlk_timeout() interface accessible to loadable extensions.

год назад
main.c

Make use of the flexible-array feature of C99, when available, to try to pacify -fsanitize=strict-bounds. This check-in fixes the core. There is more yet to do in FTS3, RTREE, and in FTS5.

год назад
malloc.c

Fix debugging code so that it compiles on MSVC.

2 года назад
mem0.c

Remove the obsolete "$Id:$" RCS identifier strings from the source code.

17 лет назад
mem1.c

Add a C-source spell-checking facility. make misspell (on Nix)

3 года назад
mem2.c

Fix another harmless compiler warning for MSVC.

5 лет назад
mem3.c

Extend the refactoring into extensions. Clean up stray newlines.

6 лет назад
mem5.c

Fix a missing 0 at the end of an integer literal in check-in [8da0f0c38a458c57]

4 года назад
memdb.c

Code changes that make it easier to prove that no 32-bit integer overflows happen during memory allocation. No problems fixed; this change is just to make future maintenance easier.

год назад
memjournal.c

Add assert() statements to verify that the SQLITE_OPEN_EXCLUSIVE flag is always passed to the VFS when opening a temporary file.

4 года назад
msvc.h

Fix compilation issues seen with older versions of MSVC.

3 года назад
mutex.c

Disable the debug-use-only functions sqlite3_mutex_held() and sqlite3_mutex_notheld() when compiling with TSAN in as much as those routines cause TSAN to complain. Response to [https://issues.chromium.org/issues/41427446].

2 года назад
mutex.h

Disable sqlite3_drop_module() tests when virtual tables are omitted from the build.

7 лет назад
mutex_noop.c

Add static mutexes for use by the built-in / third-party VFSs and use the built-in VFS mutex where appropriate.

11 лет назад
mutex_unix.c

Change 3 instance of #if SQLITE_ENABLE_API_ARMOR to #ifdef for consistency with how it is normally used.

3 года назад
mutex_w32.c

Back out minor changes not required by this branch.

2 года назад
notify.c

Round one of an audit for SQLITE_ENABLE_API_ARMOR for functions exposed by JNI and those functions missing armor, as [forum:5e3fc453a69b49ca|reported in several forum posts].

3 года назад
os.c

Add a C-source spell-checking facility. make misspell (on Nix)

3 года назад
os.h

For the unix VFS, rewrite the xFullPathname method so that it automatically resolves all symbolic links, rendering a canonical pathname that contains no symlinks.

4 года назад
os_common.h

Change the handling of hwtime.h to make it easier to compile performance measurement builds that make use of hwtime.h. This should not affect productions builds.

4 года назад
os_kv.c

Remove redundant assignment in kvvfs's decoding.

4 года назад
os_setup.h

Macro name typo fix in OS_KV builds.

4 года назад
os_unix.c

Approximately 50 typo fixes, spanning the whole tree, contributed via [forum:006c8fa165083ac3|forum post 006c8fa165083ac3] and individually checked for correctness. Affects only code comments, docs, and a single line of debug output in a test app.

год назад
os_win.c

Clarify some malloc size computations to simplify the proof that they are safe. Remove some code associated with cygwin that is marked "#if 0".

год назад
os_win.h

Cygwin-centric fixes from Jan Nijtmans.

год назад
pager.c

Reinstate the assert() removed by [0f6223b8]. Avoid holding a wal-mode write lock after the transaction has been rolled back if an IO error occurs while restarting the wal file.

год назад
pager.h

Changes for better alignment with the wal2 branch.

2 года назад
parse.y

Approximately 100 typo corrections spanning the whole tree, submitted via [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text.

год назад
pcache.c

Add extra assert() statements to the fixes on this branch.

2 года назад
pcache.h

Increase the size of ref-count values in the pager layer to 64-bits, to avoid any reasonable possiblity of overflowing the counters. There is a performance and memory penality for this. [forum:/forumpost/b741f15a35|Forum post b741f15a35].

3 года назад
pcache1.c

Use AtomicRead() and AtomicWrite() to access the pcache1_g.bUnderPressure global, to forestall unnecessary angst from thread analyzers.

год назад
pragma.c

Approximately 50 typo fixes, spanning the whole tree, contributed via [forum:006c8fa165083ac3|forum post 006c8fa165083ac3] and individually checked for correctness. Affects only code comments, docs, and a single line of debug output in a test app.

год назад
prepare.c

Ensure that the database encoding is detected before the code generator gets too far down into byte-code generation and execution, but not so early that it interferes with initialization. [forum:/forumpost/bc75a4d20b756044|Forum thread bc75a4d20b756044].

2 года назад
printf.c

Increase the size of the output buffer for sqlite3_log().

год назад
random.c

Remove unnecessary tabs in the ChaCha20 implementation. [forum:/forumpost/0cdce5db8c|Forum post 0cdce5db8c].

4 года назад
resolve.c

Fix PRAGMA trusted_schema=OFF and similar so that it restricts the kinds of functions in CHECK constraints that the documentation says it does. It was letting through some function that it ought not have. This is a defect in [5720924cb07766cd]. See [forum:/forumpost/3fa9d44c0b381342|forum thread 2025-05-08T08:50Z]. Additional test cases will be added separately.

год назад
rowset.c

Add a C-source spell-checking facility. make misspell (on Nix)

3 года назад
select.c

Improved version of the previous check-in.

год назад
shell.c.in

Rework the showHelp() function in the CLI implementation so that its purpose and operation are well described by the header commit. Omit the use of enums that cause issues for MSVC 2025.

год назад
sqlite.h.in

Remove unnecessary "www." prefixes on domain names in URLs.

год назад
sqlite3.rc

Remove unnecessary "www." prefixes on domain names in URLs.

год назад
sqlite3ext.h

Make the new sqlite3_setlk_timeout() interface accessible to loadable extensions.

год назад
sqliteInt.h

Back out the "low-quality index" query planner hack of check-in [bcac937526d9a6ef]. Subsequent query planner enhancements for dealing with star-queries make that change unnecessary and the change was recently found to cause a performance regression in an unrelated query. Also fix a typo in a debugging message.

год назад
sqliteLimit.h

The number of declared columns in an index is limited to SQLITE_LIMIT_COLUMN. But the actual number of columns in the implementation might need to be twice as much to account for the primary key at the end. Ensure that the code is able to deal with this. This is a correction to check-in [d7729dbbf231d57c].

год назад
status.c

Detect when a UNIQUE or PRIMARY KEY on a WITHOUT ROWID table would need to use more than SQLITE_LIMIT_COLUMN columns and raise an error. Also include some unrelated compiler warning fixes.

год назад
table.c

Use the sqlite3Realloc() interface internally, rather than the public sqlite3_realloc64() equivalent, to avoid unnecessary calls to sqlite3_initialize().

6 лет назад
tclsqlite.c

tclsqlite.c doc typo fix.

год назад
tclsqlite.h

Help systems still using Tcl8.6 to compile tclsqlite.c by changing a typedef into a #define.

2 года назад
test1.c

The win32lock and win32longpath tests don't work on Cygwin

год назад
test2.c

Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk.

год назад
test3.c

Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk.

год назад
test4.c

Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk.

год назад
test5.c

Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk.

год назад
test6.c

Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk.

год назад
test8.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test9.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_autoext.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test_backup.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_bestindex.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test_blob.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_btree.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test_config.c

Enhance tests to ensure that blocking locks, and not calls to xSleep(), are being used by SQLITE_ENABLE_SETLK_TIMEOUT builds when they should be.

2 года назад
test_delete.c

Merge trunk. Some additional test-fixes for Cygwin

год назад
test_demovfs.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test_devsym.c

Add a C-source spell-checking facility. make misspell (on Nix)

3 года назад
test_fs.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_func.c

Increase the maximum number of arguments on an SQL function to 1000 with the capability to increase it further up to 32767 using a compile-time option.

2 года назад
test_hexio.c

Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk.

год назад
test_init.c

Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk.

год назад
test_intarray.c

GCC 13 has become more quite pedantic about the signature of functions matching the type of pointers through which the functions are called. Make adjustments to extension functions and test procedures to work around this. No changes to the core.

2 года назад
test_intarray.h

Add a C-source spell-checking facility. make misspell (on Nix)

3 года назад
test_journal.c

Update an assert() in test_journal.c to take the new "VACUUM INTO" functionality into account.

8 лет назад
test_loadext.c

Fix some more harmless compiler warnings.

11 лет назад
test_malloc.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_md5.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test_multiplex.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_multiplex.h

Add a C-source spell-checking facility. make misspell (on Nix)

3 года назад
test_mutex.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_onefile.c

Fix a problem with the handling of SQLITE_FCNTL_PRAGMA in the test_onefile.c demo.

8 лет назад
test_osinst.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_pcache.c

Fixes for platforms with 32-bit pointers that require 64-bit values to be aligned.

2 года назад
test_quota.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_quota.h

Further work on Windows header file reform.

13 лет назад
test_rtree.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test_schema.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test_sqllog.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_superlock.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_syscall.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_tclsh.c

Omit the antiquated and long-unsupport async extension since it has been superseded by WAL mode for over a decade.

2 года назад
test_tclvar.c

Fix a few minor TCL9 compatibilities issues.

2 года назад
test_thread.c

Cygwin-centric fixes from Jan Nijtmans.

год назад
test_vdbecov.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test_vfs.c

Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk.

год назад
test_windirent.c

First cut at enhancing the fsdir virtual table so that it works with unicode characters on Windows.

год назад
test_windirent.h

First cut at enhancing the fsdir virtual table so that it works with unicode characters on Windows.

год назад
test_window.c

First attempt at getting the build to work with Tcl 9.0.

2 года назад
test_wsd.c

Remove the obsolete "$Id:$" RCS identifier strings from the source code.

17 лет назад
threads.c

Enhance ability to debug out-of-memory errors.

10 лет назад
tokenize.c

Always ignore comments in the schema of a database, even if SQLITE_DBCONFIG_ENABLE_COMMENTS is turned off.

год назад
treeview.c

Simplifh the IdList object to remove unnecessary fields. Performance increases by about 0.8%.

2 года назад
trigger.c

Make use of the flexible-array feature of C99, when available, to try to pacify -fsanitize=strict-bounds. This check-in fixes the core. There is more yet to do in FTS3, RTREE, and in FTS5.

год назад
update.c

Use the sqlite3ColumnIndex() routine to look up a column in a table, rather than using a custom loop. Performance improvement, size reduction, and complexity decrease.

2 года назад
upsert.c

Give unique names to fields in the SrcItem object, to facilitate analysis of how those fields are used using "grep".

2 года назад
utf.c

Fix a harmless comment typo

год назад
util.c

Internal doc typo fixes reported in [forum:01d15f21b6|forum post 01d15f21b6].

год назад
vacuum.c

Remove unnecessary "www." prefixes on domain names in URLs.

год назад
vdbe.c

Fix a bug in the NOT NULL/IS NULL optimization of check-in [cb94350185f555c3] that can cause invalid data to be used for a column if that column has a CHECK constraint that includes the NOT NULL or IS NULL operator. Problem discovered by the [https://issues.chromium.org/issues/415397143|Chromium fuzzer]. Never seen in the wild, as far as anybody knows.

год назад
vdbe.h

Fix an internal doc typo reported in [forum:e25e581f917|forum post e25e581f917].

год назад
vdbeInt.h

Fix alignment problems on Linux with -m32 and on Mac PPC.

год назад
vdbeapi.c

Fix a harmless code typo introduced by [b57e3c3db00a6bc6] and reported by [forum:/forumpost/09957d8b2a|forum post 09957d8b2a].

год назад
vdbeaux.c

Fix the sqlite3VdbeTypeofColumn() function so that it works correctly even when SQLITE_DEBUG is defined.

год назад
vdbeblob.c

Ensure that the TEMP database has been initialized at the beginning of a call to sqlite3_open_blob() for the TEMP database. Fix for the issue reported by [forum:/forumpost/0a556d619b|forum post 0a556d619b].

год назад
vdbemem.c

Remove unnecessary "www." prefixes on domain names in URLs.

год назад
vdbesort.c

Make use of the flexible-array feature of C99, when available, to try to pacify -fsanitize=strict-bounds. This check-in fixes the core. There is more yet to do in FTS3, RTREE, and in FTS5.

год назад
vdbetrace.c

Remove an unnecessary static buffer from sqlite3VdbeExpandSql().

5 лет назад
vdbevtab.c

Avoid 32-bit overflow when calculating ncycle for ".scanstats vm".

2 года назад
vtab.c

Further reduction in the amount of memset() needed to initialize the Parse object.

2 года назад
vxworks.h

Only use lstat() if the HAVE_LSTAT macro is defined. Fix some test file issues.

11 лет назад
wal.c

Clarify and reduce redundancy in an assert() in walChecksumBytes().

год назад
wal.h

ifdef adjustments so that SQLITE_OMIT_WAL works with SQLITE_USE_SEH.

3 года назад
walker.c

Refactor the SrcItem object so that information about subqueries is stored in a separately allocated Subquery object. This reduces the memory requirements for SrcItem and makes the code run faster. It also provides an expansion path for subquery processing that does not burden simple queries. The current checking mostly works, but there are still issues that need to be tracked down and fixed.

2 года назад
where.c

Do not use a partial index if the truth of the WHERE clause does not depend on at least one column from the table being indexed.

год назад
whereInt.h

Fix alignment problems on Linux with -m32 and on Mac PPC.

год назад
wherecode.c

Remove stray tab characters from source files.

год назад
whereexpr.c

Remove an ALWAYS() added by [2567298f4b0fdfeb] because dbsqlfuzz found a way to reach it. The test case was added to TH3.

2 года назад
window.c

Detect when a UNIQUE or PRIMARY KEY on a WITHOUT ROWID table would need to use more than SQLITE_LIMIT_COLUMN columns and raise an error. Also include some unrelated compiler warning fixes.

год назад
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©