/
clang
/
sqlite
ОбзорДокументацияВойти
/
clang
/
sqlite
Код
Вики
Пакеты
0
Релизы
0
Аналитика
sqlite/
src/
..
alter.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 года назад
analyze.c

Fixes from code inspection: (1) Extra paranoid defense against integer overflow. (2) Remove a stray blank line in an FTS5 comment.

2 года назад
attach.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 года назад
auth.c

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

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

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

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

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

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

New assert() statements to validate OP_OpenEphemeral logic.

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

New assert() statements to validate OP_OpenEphemeral logic.

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

Have "PRAGMA quick_check" compare the number of entries in tables and indexes.

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

Remove incorrect assert() statements in the SrcItem invariant validator. dbsqlfuzz 7f908865436ce531b0ace55c97a1c71d05c4e76c.

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

Ensure that all prepared statements are expired and forced to reprepare whenever the database text encoding changes. [forum:/forumpost/43cbfc4d23|Forum post 43cbfc4d23].

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

Enhance ability to debug out-of-memory errors.

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

Change the name of the enabling compile-time macro to SQLITE_ENABLE_ORDERED_SET_AGGREGATES.

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

Attempt to fix date/time calculations for days earlier than 0400-03-01. See [forum:/forumpost/eaa0a09786c6368b|forum thread eaa0a09786c6368b].

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

Fix to the previous: The dbpageRollbackTo() method should return SQLITE_OK.

2 года назад
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

Add an ALWAYS() on a branch in the new indexed-subtype logic.

2 года назад
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

Add a NEVER() to an unreachable branch in the new indexed-subtype logic. Mark the pi() function as deterministic.

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

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

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

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

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

Fix the previous check-in so that it works with virtual tables that add new shadow tables the first time they are referenced.

5 лет назад
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

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

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

Fix a bug in the parsing of some corner-case JSON PATH strings that contain escaped double-quotes.

2 года назад
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_get_clientdata() and sqlite3_set_clientdata() interfaces available to run-time loaded extensions.

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

Remove all use of the "long double" data type from SQLite, as hardware support for long double is increasingly rare and the use of long double creates challenges for some compilers.

2 года назад
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

Rig sqlite3_serialize() so that it will initialize a previously uninitialized database prior to serializing it, so that it does not have a zero-byte size and does not return NULL (except for OOM). [forum:/forumpost/498777780e16880a|Forum thread 498777780e16880a].

3 года назад
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

Correct conditional compilation issue seen with MSVC in the Win32 mutex subsystem.

3 года назад
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

Cherrypick a couple of changes requested by Mozilla onto the 3.47 branch.

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

Document that -nofollow does not work on Windows. Fix Windows symlink test cases for when the test suite is run as administrator.

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

Fix various internal #defines to conform to new C-language naming restrictions, specifically that private-use macros names must not begin with "_".

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

Cherrypick a couple of changes requested by Mozilla onto the 3.47 branch.

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

Avoid harmless integer overflow in pager status statistics gathering. Response to [forum:/forumpost/7f4cdf23f9|forum post 7f4cdf23f9].

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

Improved error messages on percentile functions. More tests cases for percentile and for ordered-set aggregates.

2 года назад
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

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

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

Fix an assert() failure in "PRAGMA integrity_check" that could occur when checking a corrupt database.

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

For the "PRAGMA database_list" statement, do not check to see if the schema is up-to-date and do not try to reload the schema.

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

Improved rebustness to malformed UTF-16 inputs to sqlite3_prepare16_v2().

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

Do not report an sqlite3_error_offset() for errors that occur inside of views or triggers, since the text of those elements is not part of the original query.

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

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

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

Allow expressions with subtypes to be read from indexes unless they are being used as direct or indirect parameters to SQLITE_SUBTYPE functions.

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

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

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

Ensure that the query flattener does not change an ON clause term to a WHERE clause term.

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

Fix some harmless scanbuild warnings in the shell.

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

Cherrypick a couple of changes requested by Mozilla onto the 3.47 branch.

2 года назад
sqlite3.rc

More work on the MSVC build.

11 лет назад
sqlite3ext.h

Make the new sqlite3_get_clientdata() and sqlite3_set_clientdata() interfaces available to run-time loaded extensions.

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

An assortment of comment typo fixes discovered by aspell. Add several new words to tool/custom.txt. No code changes.

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

Change a constant from decimal to hex to avoid a compiler warning on Mac.

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

Avoid harmless integer overflow in pager status statistics gathering. Response to [forum:/forumpost/7f4cdf23f9|forum post 7f4cdf23f9].

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

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

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

Fix two problems with argument expansion in sqlite-tclsh on Windows.

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

Use `<tcl.h>` instead of `"tcl.h"` to include the TCL interface.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reinstate the SQLITE_API qualifier on the sqlite3_delete_database() method in test_delete.c. Accidentally removed by the previous commit.

9 лет назад
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

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

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

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

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

Fix harmless compiler warning related to the TCL8-to-TCL9 transition. This change in testing code only and is not relevante to the core SQLite.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 года назад
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

Extend the refactoring into extensions. Clean up stray newlines.

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

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

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

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

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

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

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

Fix a few minor TCL9 compatibilities issues.

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

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

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

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

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

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

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

Remove the dependency on test_windirent.h from the generated shell.c file.

9 лет назад
test_windirent.h

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

3 года назад
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

Add extra checks for the validity of a numeric literal to sqlite3DequoteNumber().

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

Improvements to treetrace output for subqueries. Debug code only.

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

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

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

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

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

Avoid the possibility of buffer overrun in the READ_UTF8 macro by using an less-than operator rather than not-equal-to.

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

Yet another iteration of the solution to the floating-point conversion problem. This one avoids complaints about oversize double values from -fsanitize.

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

Randomize the name of the attached database used to do VACUUM.

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

Move the #include of hwtime.h from the bottom of util.c to the top of vdbe.c so that it will be available when needed, even for non-amalgamation builds.

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

Be more aggressive about reusing subqueries that appear on the RHS of IN operators that have been replicated due to the predicate push-down optimization.

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

Fix the preupdate hook so that it works when the "old.*" row has a column with a non-NULL default value that was added by ALTER TABLE ADD COLUMN after the current record was created.

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

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

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

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

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

Do not allow sqlite3_blob_open() to work on a any table that contains generated columns, even columns of the table which are not generated themselves, because such columns might be part of the expression of a STORED column. This restriction could be relaxed some, but that would be a lot of code for something that nobody ever uses.

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

Improvements to the scope of valueFromFunction().

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

Add a new assert() to help static analyzers understand that a pointer is never NULL.

2 года назад
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

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

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

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

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

An assortment of comment typo fixes discovered by aspell. Add several new words to tool/custom.txt. No code changes.

2 года назад
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

An assortment of comment typo fixes discovered by aspell. Add several new words to tool/custom.txt. No code changes.

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

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 года назад
wherecode.c

If a subquery is copied and then changes are made to the copy, be sure to give the copy a unique Select.selId value so that the original will not be substituted in place of the modified copy.

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

Improved handling of unicode characters in the LIKE optimization. Follow-up to [bce52ce2a6e7f3d3].

2 года назад
window.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 года назад
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©