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

Do not allow an ALTER TABLE ADD COLUMN on a STRICT table if the added column contains a DEFAULT clause that would violate the type of the added column.

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

Extra space to prevent a buffer overread on corrupt STAT4 records. dbsqlfuzz 7128d1b41ce9df2c007f9c24c1e89e2f1b2590ca.

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

Fix harmless compiler warnings.

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

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

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

Mark the BTree cell overflow cache as invalid whenever the rowid goes invalid.

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

The OP_Column opcode caches large column values coming from overflow pages.

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

Avoid an unnecessary malloc() for the page usage bitmap when running a partial integrity_check.

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

Fix the SQLITE_ALLOW_ROWID_IN_VIEW bug-compatibility option so that it works again. Add the SQLITE_CONFIG_ROWID_IN_VIEW sqlite3_config() value to optionally disable the bug-compatibility mode at start-time. Enable testing of SQLITE_ALLOW_ROWID_IN_VIEW.

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

Turn on SEH by default when building using MSVC.

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

New conversion letters added to strftime(): %e, %k, %I, %l, %R, %P, %p, %T, %u.

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

Add bit to sqlite3_test_control(SQLITE_TESTCTRL_OPTIMIZATIONS) that will disable the one-pass optimizating in DELETE and UPDATE.

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

Do not automatically assume that ROWID is NOT NULL when compiled with SQLITE_ALLOW_ROWID_IN_VIEW. dbsqlfuzz 31b38eeb63a4e1562de665078f52b7b47a7543cf

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

Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE.

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

Remove a branch that cannot affect the outcome from FkNoAction processing in fkey.c. Replace it with an assert().

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

Cherry pick recent fixes into branch-3.44.

год назад
global.c

Fix the SQLITE_ALLOW_ROWID_IN_VIEW bug-compatibility option so that it works again. Add the SQLITE_CONFIG_ROWID_IN_VIEW sqlite3_config() value to optionally disable the bug-compatibility mode at start-time. Enable testing of SQLITE_ALLOW_ROWID_IN_VIEW.

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

Ignore CHECK constraints when qualifying the xfer optimization while running VACUUM.

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

Add the SQLITE_RESULT_SUBTYPE flag for application-defined functions. Add the -DSQLITE_STRICT_SUBTYPE=1 compile-time option that raises an error if any function invokes sqlite3_result_subtype() without the SQLITE_RESULT_SUBTYPE flag. SQLITE_RESULT_SUBTYPE prevents an indexed value of that function from being used to replace an equivalent expression, since the indexed expression does not carry the subtype.

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

Cherry pick recent fixes into branch-3.44.

год назад
malloc.c

Simplification to sqlite3ApiExit(). Generates identical machine code, but easier for humans to read.

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

Add ALWAYS() to always-true branches in the locking logic of the memdb VFS.

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

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

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

In os_unix.c and os_win.c, do not allow xFetch() to return a pointer to a page buffer that is right at the end of the mapped region - if the database is corrupted in a specific way such a page buffer might be overread by several bytes.

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

In os_unix.c and os_win.c, do not allow xFetch() to return a pointer to a page buffer that is right at the end of the mapped region - if the database is corrupted in a specific way such a page buffer might be overread by several bytes.

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

Update #ifdef checks in pager.c and util.c to account for [0462a2612d1fc1d0] to resolve the build problem reported in [forum:9819032aac|forum post 9819032aac].

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

ifdef adjustments so that SQLITE_OMIT_WAL works with SQLITE_USE_SEH.

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

Enhance the parser so that it can accept an ORDER BY clause on a function invocation. For this incremental check-in, the ORDER BY clause is currently ignored.

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

The pageOnDirtyList() assertion is too slow even for debugging builds, for some corner cases. It makes the query appear to hang. So make it an EXPENSIVE_ASSERT instead.

3 года назад
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 a C-source spell-checking facility. make misspell (on Nix)

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

Fix the xBestIndex method of the pragma virtual table so that it correctly gives a higher cost to plans where the schema hidden parameter is unconstrained.

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

Another very minor tweak to code on this branch to save cycles.

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

Fix a harmless compiler warning about variant types for a pointer function.

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

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

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

If a term of an ORDER BY or GROUP BY contains an aggregate function or column, then it is not an alias that needs to be resolved, so don't try to. This fixes a harmless assertion found by dbsqlfuzz.

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

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

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

Do not automatically assume that ROWID is NOT NULL when compiled with SQLITE_ALLOW_ROWID_IN_VIEW. dbsqlfuzz 31b38eeb63a4e1562de665078f52b7b47a7543cf

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

Fix the SQLITE_ALLOW_ROWID_IN_VIEW bug-compatibility option so that it works again. Add the SQLITE_CONFIG_ROWID_IN_VIEW sqlite3_config() value to optionally disable the bug-compatibility mode at start-time. Enable testing of SQLITE_ALLOW_ROWID_IN_VIEW.

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

Fix the SQLITE_ALLOW_ROWID_IN_VIEW bug-compatibility option so that it works again. Add the SQLITE_CONFIG_ROWID_IN_VIEW sqlite3_config() value to optionally disable the bug-compatibility mode at start-time. Enable testing of SQLITE_ALLOW_ROWID_IN_VIEW.

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

Fix the SQLITE_ALLOW_ROWID_IN_VIEW bug-compatibility option so that it works again. Add the SQLITE_CONFIG_ROWID_IN_VIEW sqlite3_config() value to optionally disable the bug-compatibility mode at start-time. Enable testing of SQLITE_ALLOW_ROWID_IN_VIEW.

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

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

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

Change the names of the Vdbe.pVNext and Vdbe.ppVPrev fields to make them unique. Change to ppVPrev to save a few bytes and a few CPU cycles.

4 года назад
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 harmless compiler warnings that show up on 32-bit RaspberryPI builds.

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

Fix a problem with SQLITE_CHANGESETAPPLY_FKNOACTION and the foreign-key-trigger-cache.

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

Fix an off-by-one error causing a buffer overread in test2.c.

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

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

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

Add memory barriers to multi-threaded code in test4.c.

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

Make sure the SQLITE_TCLAPI macro is always defined.

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

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

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

Make sure the SQLITE_TCLAPI macro is always defined.

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

Make sure the SQLITE_TCLAPI macro is always defined.

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

Avoid making unnecessary changes to the signatures of the sqlite3_auto_extension() and sqlite3_cancel_auto_extension() interfaces.

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

Make sure the SQLITE_TCLAPI macro is always defined.

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

Handle a real OOM condition when incrblob2.test is run on a low-memory machine.

9 лет назад
test_btree.c

Make sure the SQLITE_TCLAPI macro is always defined.

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

Fix the SQLITE_ALLOW_ROWID_IN_VIEW bug-compatibility option so that it works again. Add the SQLITE_CONFIG_ROWID_IN_VIEW sqlite3_config() value to optionally disable the bug-compatibility mode at start-time. Enable testing of SQLITE_ALLOW_ROWID_IN_VIEW.

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

Avoid several -Wall warnings in textfixture build.

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

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

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

Omit the return value from sqlite3VdbeSerialGet() for a size reduction and performance improvement.

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

Avoid a buffer overrun in test code that could occur if certain test functions were passed a hex-string containing an odd number of digits.

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

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

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

Modifications to test code so that the sqlite3MemdebugHastype() assert() statements are enabled for Tcl tests.

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

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

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

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

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

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

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

Fix straggler misspellings and tidy the custom dictionary. Also include pickups from [forum:/info/c61fb09afd|forum post c61fb09afd].

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

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

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

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

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

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

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

Further work on Windows header file reform.

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

Make sure the SQLITE_TCLAPI macro is always defined.

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

Extend the refactoring into extensions. Clean up stray newlines.

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

Make sure the SQLITE_TCLAPI macro is always defined.

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

Change the return type of the ts_read/write() family of functions from int to ssize_t, per report in [forum post 947169d5e7](forum:947169d5e7).

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

Fix the build after the previous change

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

Avoid using Tcl command [clock] in testrunner.tcl.

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

Add a test case to cover a missed VDBE branch generated by window.c.

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

Fix a race condition during hot-journal rollback that could theoretically cause spurious corruption errors.

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

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

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

Fix harmless compiler warning.

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

New testcase() macro in the tokenizer, to better document its behavior.

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

Simplifications and optimizations to the Expr object duplication logic. The 5x multiplier crutch from [f371e4c0f8ea73ae] is still present. More fixes are still needed.

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

Further enhancements to make sure the correct returnning trigger is run when there are nested INSERT RETURNING statements.

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

When compiling with SQLITE_ALLOW_ROWID_IN_VIEW, if the RETURNING clause of an UPDATE of a view specifies a rowid, then return NULL for the value of that rowid.

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

Silently ignore redundant ON CONFLICT clauses in an UPSERT.

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

Work around a bug in clang-11.0.0.

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

Fix a problem involving infinities int the Kahan-Babushka-Neumaier summation algorithm.

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

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

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

Reference count the Table passed into the OP_VCheck opcode.

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

Reference count the Table passed into the OP_VCheck opcode.

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

The original column-cache implementation from check-in [ab1edcc7fedcf279] (merged to trunk at [771fe35074b50b8d]) is unsound. This check-in fixes the issue. Had to give back a little performance, the optimization is still a overall win.

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

Add the SQLITE_RESULT_SUBTYPE flag for application-defined functions. Add the -DSQLITE_STRICT_SUBTYPE=1 compile-time option that raises an error if any function invokes sqlite3_result_subtype() without the SQLITE_RESULT_SUBTYPE flag. SQLITE_RESULT_SUBTYPE prevents an indexed value of that function from being used to replace an equivalent expression, since the indexed expression does not carry the subtype.

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

Back port various minor patches

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

Add column name to API_ARMOR check in sqlite3_blob_open() to avoid a null-pointer deref.

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

Update the documentation to the sqlite3_set_auxdata() and sqlite3_get_auxdata() routines to make it clear that they do not work as one might expect when they are called during query planning, instead of during query execution. The JSON routines misuse those interfaces, so add a special flag to JSON routines that prevents them from being invoked during query planning.

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

Increase the size of some variables associated with the PMA sorter in order to avoid any possibility of a signed integer overflow. [https://bugs.chromium.org/p/chromium/issues/detail?id=1489025|Chromium fuzzer issue 1489025].

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

Remove an unnecessary static buffer from sqlite3VdbeExpandSql().

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

Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings.

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

Fix a few SQLITE_MISUSE returns so that they call sqlite3MisuseError().

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

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

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

Fix a possible UAF in SEH if an exception occurs at an inopportune moment during WAL processing.

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

ifdef adjustments so that SQLITE_OMIT_WAL works with SQLITE_USE_SEH.

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

Avoid unnecessary NULL pointer checks on calls to sqlite3WalkExpr().

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

Check-in a9657c87c53c1922 is wrong: the IndexedExpr.bMaybeNullRow flag is required for virtual columns if they are part of an outer join. Add a test case to prove it.

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

The view-scan optimization was added to enhance the performance of one specific query, but it causes performance regressions on a host of others. Disable it (at least temporarily) in order to try to find an alternative way of fixing the one specific query that it was created to fix - an alternative way that does not cause performance problems for other unrelated queries.

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

Improve support for sqlite3_stmt_scanstatus_v2() profiling of sub-queries implemented as co-routines.

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

Address various harmless compiler warnings from [forum:/forumpost/d526da8ee4|forum post d526da8ee4].

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

Add the SQLITE_RESULT_SUBTYPE flag for application-defined functions. Add the -DSQLITE_STRICT_SUBTYPE=1 compile-time option that raises an error if any function invokes sqlite3_result_subtype() without the SQLITE_RESULT_SUBTYPE flag. SQLITE_RESULT_SUBTYPE prevents an indexed value of that function from being used to replace an equivalent expression, since the indexed expression does not carry the subtype.

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