Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
prepare.c
bc60d7b
Ensure that the database encoding is detected before the code generator gets
by drh
· 9 months ago
f8305e4
Improved rebustness to malformed UTF-16 inputs to sqlite3_prepare16_v2().
by drh
· 10 months ago
3254206
The sqlite3FaultSim(300) error from [1e8863909ac369e5] must be treated as
by drh
· 1 year, 2 months ago
7e60106
Add an sqlite3FaultSim(300) call to the sqlite3ParserAddCleanup() routine
by drh
· 1 year, 2 months ago
003d419
Add an assert() to prove the sqlite3_prepare() always either returns
by drh
· 1 year, 8 months ago
1b96f91
Another very minor tweak to code on this branch to save cycles.
by dan
· 1 year, 10 months ago
partial-index-terms
e393f6e
Add the experimental sqlite3_stmt_explain(S,E) interface.
by drh
· 2 years ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
d9eb39e
Early out from sqlite3Prepare() following an OOM to avoid possible
by drh
· 2 years, 3 months ago
359c5ac
Ensure that the VACUUM command is not confused by alternative encodings when
by drh
· 2 years, 3 months ago
d993b15
Ensure that the database encoding cannot be changed while there are statements running. And that the connection is left in a valid state after an obscure OOM within sqlite3_deserialize().
by dan
· 2 years, 6 months ago
873a840
Avoid returning SQLITE_SCHEMA if the first query run on a connection is "SELECT nosuchcolumn" or similar. Forum post <https://sqlite.org/forum/forumpost/c1798f77ef>.
by dan
· 2 years, 8 months ago
schema-error-fix
7d34b8d
Performance optimization in sqlite3_prepare() (discovered while working
by drh
· 2 years, 10 months ago
7424aef
Replace the Parse.disableVtab field with Parse.prepFlags for increased
by drh
· 2 years, 10 months ago
41ce47c
Add the new internal interface sqlite3DbNNFreeNN(db,ptr) where both the
by drh
· 2 years, 11 months ago
87b7ac0
Prevent an infinite loop on SQLITE_ERROR_RETRY when trying to modify a
by drh
· 3 years, 3 months ago
5705b41
The "PRAGMA writable_schema=ON" flag should not allow OOM errors to pass
by drh
· 3 years, 4 months ago
75863ec
When nesting Parse objects, make sure the new one has nErr set if there
by drh
· 3 years, 6 months ago
1da88b5
Add ALWAYS() macros. Change some existing ALWAYS() into assert(). Other
by drh
· 3 years, 6 months ago
0c7d3d3
Remove many redundant checks for sqlite3.mallocFailed now that any OOM should
by drh
· 3 years, 6 months ago
c692df2
Make it so that any Parse object is always linked into the database conenction
by drh
· 3 years, 6 months ago
24a82ea
Do not raise an SQLITE_SCHEMA error if in sqlite3Init(). Fix for PoC #2 in
by drh
· 3 years, 7 months ago
54bc638
Simplify the sqlite3RunParser() routine by omitting the third parameter.
by drh
· 3 years, 7 months ago
1611826
Performance optimization and size reduction in sqlite3RunParser().
by drh
· 3 years, 7 months ago
15561b9
Do not attempt to reprepare a prepared statement that returns SQLITE_SCHEMA
by drh
· 3 years, 7 months ago
ac894af
Improved the error message that results when a schema parse fails after
by drh
· 3 years, 9 months ago
2a6a72a
Ensure that the db->init.azInit array is initialized at all times.
by drh
· 3 years, 10 months ago
7a7cefa
Improved defense against OOM errors in sqliteInitOne().
by drh
· 4 years, 1 month ago
569143c
The SQLITE_NoSchemaError flag should not apply to OOM errors while parsing the
by drh
· 4 years, 3 months ago
6000e08
Earlier detection empty_result_callbacks in sqlite3InitCallbac() to avoid
by drh
· 4 years, 3 months ago
2389048
As a continuation of [1f66a85b7757754f], ensure that an OOM that occurs
by drh
· 4 years, 4 months ago
ad3930b
Take care not to change an SQLITE_NOMEM error into SQLITE_SCHEMA.
by drh
· 4 years, 4 months ago
6d0053c
Extra comments and testcase() macros associated with the new
by drh
· 4 years, 4 months ago
a79e2a2
Materialize any CTE that is used more than once.
by drh
· 4 years, 5 months ago
a7da40f
Merge changes from trunk into the alter-table-drop-column branch.
by drh
· 4 years, 5 months ago
c54246f
Use the sqlite3ParserAddCleanup() mechanism to ensure that the AggInfo
by drh
· 4 years, 5 months ago
6a5a13d
Fix various issues with the changes on this branch. Add test cases for the same.
by dan
· 4 years, 5 months ago
5e5683a
Fix a harmless compiler warning.
by drh
· 4 years, 6 months ago
21d4f5b
Fix a potential use-after-free following an OOM in sqlite3ParserAddCleanup()
by drh
· 4 years, 6 months ago
parse-cleanup
cf3c078
Add a linked list of ParseCleanup objects to the end of a Parse object and
by drh
· 4 years, 6 months ago
630fc34
Faster and smaller test to ensure that the sqlite_schema.sql field is always
by drh
· 4 years, 7 months ago
88efc79
Size reduction and performance increase in sqlite3Prepare().
by drh
· 4 years, 7 months ago
2b06b07
Ensure that the busy-handler count is reset at the end of each sqlite3_file_control() and sqlite3_prepare() (and _v2() and _v3()).
by dan
· 4 years, 11 months ago
99744fa
Add support for the sqlite3_txn_state() interface.
by drh
· 5 years ago
48bf2d7
Fix unreachable branches.
by drh
· 5 years ago
larger-databases
b140347
Fix a typo in an error message.
by drh
· 5 years ago
ca439a4
Disable rootpage bounds checking when the SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS
by drh
· 5 years ago
rootpage-bounds-check
69306bf
Improvements to rootpage bounds checking during schema parse.
by drh
· 5 years ago
3b3ddba
When parsing the schema, detect out-of-bounds rootpage values and throw an
by drh
· 5 years ago
bb39ac7
Most test cases now passing.
by drh
· 5 years ago
abc3815
Continuing work toward supporting unsigned 32-bit page numbers.
by drh
· 5 years ago
067b92b
Extend the refactoring into extensions. Clean up stray newlines.
by drh
· 5 years ago
1e32bed
Further refactoring of the schema table name.
by drh
· 5 years ago
bf79097
AggInfo objects might be referenced even after the sqlite3Select() function
by drh
· 5 years ago
bdd4f7d
Innocuous changes to help Coverity avoid false-positives.
by drh
· 5 years ago
0ea2d42
Report an error if the main, or any other, database encoding is modified by an external process (perhaps using the backup API) after the db has been opened.
by dan
· 5 years ago
42a630b
Change the sqlite3.pDfltColl (the default collating sequence for the
by drh
· 5 years ago
f3ce248
Save CPU cycles in sqlite3Prepare() by, among other things, shifting the
by drh
· 6 years ago
705e733
Omit the check for conflicting shared-cache locks in sqlite3Prepare() if the
by drh
· 6 years ago
a22d2fc
Call sqlite3Prepare() directly, rather than going through sqlite3_prepare(),
by drh
· 6 years ago
31f6962
Performance optimization to the lookaside-memory disabling mechanism.
by drh
· 6 years ago
d4da493
Avoid downgrading SQLITE_CORRUPT errors detected by the schema parser into
by drh
· 6 years ago
c5a93d4
Validate the type, name, and tbl_name fields of the sqlite_master table when
by drh
· 6 years ago
08e2e8e
Mark an unreachable branch using ALWAYS().
by drh
· 6 years ago
1efcc9d
Another very small performance improvement.
by dan
· 6 years ago
8d40673
Detect if two indexes of the same table share a common rootpage while
by drh
· 6 years ago
69ab18d
More aggressive early detection of orphaned and malformed autoindexes when
by drh
· 7 years ago
6b86e51
If the OP_ParseSchema opcode with a non-NULL P4 operand does not parse any
by drh
· 7 years ago
1ea0443
Add new sqlite3_prepare_v3() flag SQLITE_PREPARE_NO_VTAB, for preparing
by dan
· 7 years ago
643d855
Refactor the sqlite3_normalized_sql() implementation. This is a
by drh
· 7 years ago
893bd37
Fix the sqlite3_normalized_sql() interface so that it renders
by drh
· 7 years ago
d5b44d6
When masking bits off of sqlite3.flags, make sure the mask is 64 bits
by drh
· 7 years ago
7b278f0
Get rid of the hash table used to track IN operators in the
by drh
· 7 years ago
253a6af
The sqlite3_normalized_sql() interface should not be transforming quoted
by drh
· 7 years ago
d4a4dd6
Fix an imbalanced lock problem in sqlite3Normalize() introduced by the
by drh
· 7 years ago
19efd0d
Simplifications to the sqlite3_normalized_sql() implementation.
by drh
· 7 years ago
707821f
Enhance the sqlite3_normalize_sql() interface so that it works even if the
by drh
· 7 years ago
a60c630
Add support for the SQLITE_PREPARE_NORMALIZED flag and the
by drh
· 7 years ago
fd748c6
Split the SQLITE_WriteSchema flag in two flags, WriteSchema and
by drh
· 7 years ago
8bee11a
Add the sqlite3_normalized_sql() API.
by mistachkin
· 7 years ago
normalized_sql
c9461ec
Extend RENAME TABLE to edit triggers and views. Still buggy.
by dan
· 7 years ago
1595abc
Improved error messages when an ALTER TABLE RENAME COLUMN fails due to a
by drh
· 7 years ago
e325ffe
Reload the entire schema after renaming a column in order to ensure that the
by dan
· 7 years ago
bb2d9b1
Change sqlite3BtreeBeginTrans() to return the BTREE_SCHEMA_COOKIE, for a
by drh
· 7 years ago
03c3905
Fix a dangling-else problem that was causing recursive CTEs to malfunction.
by drh
· 7 years ago
0314cf3
Add the "PRAGMA reset_database=ON|OFF" command. When on, it causes the
by drh
· 7 years ago
b2c8559
Avoid many unnecessary calls to sqlite3ReadSchema() and sqlite3Init() when
by drh
· 7 years ago
3215872
Add an assert() to ensure that schema mutexes are held prior to accessing
by drh
· 7 years ago
1e9c47b
Better error message text when the schema is corrupted by a CREATE TABLE AS
by drh
· 7 years ago
corrupt-schema
7e8515d
The query planner tries to avoids using indexes that use unknown collating
by drh
· 8 years ago
9d9c41e
Remove unnecessary NEVER() and ALWAYS() conditionals.
by drh
· 8 years ago
36494b8
Size and performance optimization for sqlite3Init().
by drh
· 8 years ago
967f8f9
Remove an unnecessary branch from the [be436a7f4587ce517ddc] fix.
by drh
· 8 years ago
dc6b41e
Defer schema resets when the query planner is running.
by drh
· 8 years ago
6903bf6
Slightly smaller and faster by allocating Parser objects on the stack.
by drh
· 8 years ago
8257aa8
Add the new sqlite3.mDbFlags field. Factor out bits of sqlite3.flags that
by drh
· 8 years ago
3cef364
Add requirements marks for some of the new features in the 3.20 release.
by drh
· 8 years ago
d0bbe4e
Incorporate recent trunk changes.
by drh
· 8 years ago
prepare_v3
169dd92
Add the SQLITE_DBCONFIG_ENABLE_QPSG option to activate the query planner
by drh
· 8 years ago
2c2f392
Add interfaces sqlite3_prepare_v3() and sqlite3_prepare16_v3() with the
by drh
· 8 years ago
Next »