/
AlexanderLukyanov
/
sqlite2
ОбзорДокументацияВойти
/
AlexanderLukyanov
/
sqlite2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
sqlite2/
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

Remove some unnecessary computations from ANALYZE so that ANALYZE runs with fewer CPU cycles. These changes were spotted while working on the nearby enhanced-stat1 branch. So even if enhanced-stat1 is abandoned, that effort put into it will not have been in vain.

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

When inserting a 3-byte cell into a btree, ensure that the extra padding byte is 0x00. This is not necessary for security, as far as I can tell, but it seems like a reasonable precaution.

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

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

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

Minor doc fix in src/betreeInt.h, prompted by an email report. No code changes.

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

Improved resolution of unqualified names in the REINDEX command. [forum:/info/74cd0ceabd|Forum thread 74cd0ceabd].

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

Ensure that the YYYY-MM-DD input to date and time functions has been normalized prior to returning a result. [forum:/forumpost/6bb476897e|Forum post 6bb476897e].

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

Remove an ALWAYS() added in [c50e6c2ace49d092] because it is sometimes false. dbsqlfuzz c393a4f783d42efd9552772110aff7e5d937f15e.

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

The quote() SQL function should convert +Inf into 9.0e+999 and -Inf into -9.0e+999. See [forum:/forumpost/6675b25108|forum post 6675b25108].

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

Rename the new test-control to SQLITE_TESTCTRL_JSON_SELFCHECK. Make it so that the current value of the setting can be interrogated.

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

Silently ignore redundant ON CONFLICT clauses in an UPSERT.

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

Fix harmless compiler warning seen with MSVC.

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

Fix a #ifdef in sqlite3_test_control() that was preventing builds with SQLITE_OMIT_WSD.

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

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].

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

Adjust the sqlite3PagerDirectReadOk() routine (part of the SQLITE_DIRECT_OVERFLOW_READ optimization) to use less code and to be more easily testable.

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

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

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

Reenable the use of SQLITE_OMIT_VIRTUALTABLE by fixing a misplaced #endif caused by the merge at [c080560c2d0d753c].

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

Add an assert() to prove the sqlite3_prepare() always either returns SQLITE_OK or else leaves *ppStmt set to NULL. See [forum:/forumpost/70bb8576c6c084c2|forum post 70bb8576c6c084c2].

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

Fix rounding in zero-precision %f and %g printf conversions.

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

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

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

The NOT NULL strength reduction optimization should be applied to the WHERE clause only.

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

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

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

In the count-of-view optimization, deferring freeing obsolete parts of the parse tree, on the off-chance that some other part of the code might be holding a pointer to those parts.

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

Fix the ".import" command in the CLI so that it works correctly with tables that contain computed columns.

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

Further clarify sqlite3_exec() callback parameter lifetime.

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

The NOT NULL strength reduction optimization should be applied to the WHERE clause only.

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 harmless compiler warnings that show up on 32-bit RaspberryPI builds.

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

When doing a text-affinity comparison between two values where one or both have both a text and a numeric type, make sure the numeric type does not confuse the answer. This is a deeper fix to the problem observed by [forum:/forumpost/3776b48e71|forum post 3776b48e71]. The problem bisects to [25f2246be404f38b] on 2014-08-24, prior to version 3.8.7.

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

Remove additional traces of FTS1 and FTS2 that were missed by [2bb50d5aedef0fd2]

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

Enable SQLITE_STRICT_SUBTYPE for default builds of the shell, fuzzcheck, and testfixture.

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

Additional debugging information on the tree-dump of the BETWEEN operator.

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

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

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

Fix harmless compiler warnings reported by MSVC.

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

Silently ignore redundant ON CONFLICT clauses in an UPSERT.

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

Improvements to UTF8 handling, and especially the handling of invalid UTF8, in the JSON routines.

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

Work around obscure floating point issue seen with older versions of MSVC.

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

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

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

When doing a text-affinity comparison between two values where one or both have both a text and a numeric type, make sure the numeric type does not confuse the answer. This is a deeper fix to the problem observed by [forum:/forumpost/3776b48e71|forum post 3776b48e71]. The problem bisects to [25f2246be404f38b] on 2014-08-24, prior to version 3.8.7.

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

The assertion change at check-in [7946c79567b0ccd3] is insufficient to fix the problem of a Table object being deleted out from under the OP_VCheck opcode. We need to reference count the Table, which is accomplished here.

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

Merge recent trunk enhancements and fixes into the jsonb branch.

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

Make sure key comprisons are done correctly if the index key contains NaN values that have not been shifted into NULLs. That can only happen due to database corruption, but we need to deal with it nevertheless.

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. Fix for the problem in [forum:/forumpost/a655ee159eca1ea5|forum post a655ee159eca1ea5].

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

Avoid expiring prepared statements in the middle of an integrity-check.

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

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

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

Put an SQLITE_ENABLE_SETLK_TIMEOUT branch inside the appropriate ifdef with an assert on the else since the condition is always false if SETLK_TIMEOUT is not available.

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

Automatically disable the DISTINCT optimization during query planning if the ORDER BY clause exceeds 63 terms.

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

Change parameters on a debugging function to include "const".

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

Omit the new SQLITE_VALUE_SUBTYPE name. Stay with legacy SQLTIE_SUBTYPE. Add extra documentation to sqlite3_value_subtype() and sqlite3_result_subtype() indicating that the SQLITE_SUBTYPE and SQLITE_RESULT_SUBTYPE properties are required on functions that use those interfaces.

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