aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
Commit message (Collapse)AuthorAge
...
| * Rename fields of the internal AuxData object to make them unique and easierdrh2017-05-10
| | | | | | | | | | to search for. FossilOrigin-Name: 2be9850cef6492e168243807c34af72119ffbe414027a12c4eda6c421b5b950d
* | Fix a harmless compiler warning on Windows.drh2017-05-03
| | | | | | FossilOrigin-Name: 593e5dd00cdf8fbc680951d68b53b38262c61c467703f6a8eb477226cf6beedd
* | Merge the latest enhancements from trunk.drh2017-05-02
|\| | | | | FossilOrigin-Name: a7dcf6a79f7e1c5884baee2909a4bf3174ae06d561dae87b390856e573f81b49
| * Minor bug fixes and performance enhancement.drh2017-05-01
| | | | | | FossilOrigin-Name: b2aae559581d05e4e8caaddfbd137cb275d582e82d58872c6f42e462dc859b1c
| * Initial implementation of an optimization that attempts to reuse the samedrh2017-05-01
| | | | | | | | | | materialization of a view on a self-join of the view. FossilOrigin-Name: 478c34b9a8b5127d13024e10307aa832f160b89720c46424dd17555bd36f590d
* | Add support for analyzing trigger programs to the sqlite3_expert code.dan2017-04-17
|/ | | FossilOrigin-Name: 159e8022a9d6701532b8b60e0c41154bc434c1bbdb107c8c97a78fb1140fa745
* Smaller and faster vdbeFreeOpArray()drh2017-04-10
| | | FossilOrigin-Name: e052436d9f54b785facd661adc648512356b831c0547aa8f347ebf4bd8ef1254
* Split off sqlite3DbFreeNN() from sqlite3DbFree() and use it in cases wheredrh2017-04-05
| | | | | we know that the argument to be freed is never NULL. FossilOrigin-Name: ad90e8bb5e47945607c8fb47b6ade8cfc52a9b684805cc40132629be0ecc14cc
* Remove an unnecessary clearing of the Vdbe.iCurrentTime value.drh2017-04-01
| | | FossilOrigin-Name: fcd2acdd6075aa9a7a66ce254eba77485f7b2804127e109c0309173488cd4b87
* Begin enforcing the SQLITE_LIMIT_VDBE_OP. The documentation warned that thisdrh2017-03-17
| | | | | day might come. FossilOrigin-Name: ef5914617088cbf89bfae88f63ea959a07f02dff387ddc2b43948ad99c6a97b8
* If a reprepare is needed after binding to a variable with a number largerdrh2017-03-03
| | | | | | than 32, set only the high-order bit of the Vdbe.expmask rather than setting all bits. This could potentially result in fewer false-positive reprepares. FossilOrigin-Name: 45797feefe90cb7da53256b0c42fdaa1221d0a27
* Make sure the Vdbe.expmask value is set correctly in sqlite3VdbeSwap().drh2017-03-02
| | | | | This fixes a problem introduced by [a8fd7052]. FossilOrigin-Name: 29f54b899e5cf22ece98ab41c39c41d75a4b228d
* Save a few bytes and a few cycles by setting Vdbe.expmask to zero fordan2017-02-23
| | | | | statements prepared using legacy interface sqlite3_prepare(). FossilOrigin-Name: a8fd705258643863493476f8b42ee981608a339f
* In sqlite3VdbeHalt(), return as soon as possible ifdan2017-02-21
| | | | | | Vdbe.magic!=VDBE_MAGIC_RUN. This makes sqlite3_reset() slightly faster in some cases. FossilOrigin-Name: 80adc0cb4ed7bacc54b15ac8b5b205403939c8c4
* Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" fordrh2017-02-13
| | | | | consistency. FossilOrigin-Name: 670f10b24230863688270d12ac519609ade2302b
* Experimental change to invoke the preupdate hook when WITHOUT ROWID tables aredan2017-01-30
| | | | | written. FossilOrigin-Name: 856f8604c59c8fdd9bfb7d86fc0e212f091ab49a
* Performance optimization in sqlite3VdbeCloseStatement().drh2017-01-26
| | | FossilOrigin-Name: 1e96e5ec1ee617cb5b5cbdc5a2ee79c8cc35821d
* Fix a problem with the pre-update hook on this branch.dan2017-01-25
| | | FossilOrigin-Name: 6fc4fbfa29cfa795edf32e4a1f2d0eceb3007f68
* Experimental enhancement to automatically trim NULL values from the end ofdrh2017-01-25
| | | | | | records, for a reduced disk footprint. This change also involves increasing the P5 operand from 8 to 16 bits. FossilOrigin-Name: 118ded403b95050b74ae2b03919c43d614094a32
* Ensure that sqlite3_column_count() returns 0 for the "set" mode of "get/set"dan2017-01-05
| | | | | | PRAGMA statements that do not return a value in that case (e.g. page_size, cache_size, auto_vacuum). FossilOrigin-Name: 5c05d8ec5e895661dae2de30c73dfdeaff93511e
* Fix the VList object so that it actually works.drh2016-12-23
| | | FossilOrigin-Name: 9dcd85698af46fd5ba34004ca690d368c4ae3078
* Use the VList object to replace Parse.azVar for tracking the mapping betweendrh2016-12-23
| | | | | | SQL parameter names and parameter numbers. There is a performance improvement, though there are still a few hiccups in the current code. FossilOrigin-Name: 68ecafa1425a41358c88f41efea3262f1b4490f2
* Simplifications to the way UnpackedRecord objects are allocated. Smallerdrh2016-12-21
| | | | | and faster code that also fixes a subtle (currently unreachable) bug. FossilOrigin-Name: f7ab01f254cd9d7006b8dec29adb234a671b8e6f
* Reorder the fields in the VdbeCursor object so that those that need to bedrh2016-12-10
| | | | | | bulk zeroed on allocation are grouped at the beginning, and the memset() only runs over those fields that really need it. FossilOrigin-Name: 8165f88bb1d40693d67005a8d5dc499085f64b91
* Add the sqlite3VdbeAppendP4() method for adding P4 content to the most recentlydrh2016-12-07
| | | | | coded instruction. FossilOrigin-Name: 28883e8f3e92a8015fb5f6c8ae8580833931543d
* The use P4_DYNAMIC in place of the P4_MPRINTF operand type.drh2016-12-07
| | | FossilOrigin-Name: 3954f83798ed78527280c9db6360c62a5134b9ec
* Performance optimization for sqlite3VdbeAddOp4().drh2016-12-07
| | | FossilOrigin-Name: 04716c907bf9fc9b827e18fdc7b4e1069e201536
* Refactor the sqlite3BtreeKey() and sqlite3BtreeData() internal interfacesdrh2016-11-25
| | | | | | | into sqlite3BtreePayload() and sqlite3BtreePayloadChecked(), respectively. This is a continuation of the optimization started by check-in [2d831074cf]. The result is a slightly smaller and faster binary. FossilOrigin-Name: 49ebc219faea30eaa61def4a3fba2817b9c58a86
* Correctly display the names of SQL functions in the VDBE_PROFILE output.drh2016-11-23
| | | FossilOrigin-Name: 161192f17273f32f1b3b82d41135aaca047e9a83
* In the sessions module, avoid recording a change if an UPDATE statementdan2016-10-21
| | | | | overwrites a column with REAL affinity containing an integer value with the same value. FossilOrigin-Name: b861328ab9ceec6926d97658c3606e6ae9ad39bf
* Remove an unnecessary memset() call.drh2016-10-01
| | | FossilOrigin-Name: a76bff74ce47c9c98106566bde5d781992657e22
* Use sqlite3DbMallocRawNN() where appropriate, instead ofdrh2016-10-01
| | | | | sqlite3DbMallocRaw(). FossilOrigin-Name: 54a449a41d8d32da2f8b73689227ced866974a18
* Make sure deleting an unused prepared statement does not referencedrh2016-10-01
| | | | | uninitialized fields in the structure. FossilOrigin-Name: 7983eef0422439bfc85950554b000d46a9767ee3
* Avoid unnecessary zeroing of fields in the Vdbe object when it is allocated.drh2016-10-01
| | | FossilOrigin-Name: 1e21bbe836539e64d24857f4faa3d12cd607dc7e
* Fix the Parse.aColCache column cache so that all of the valid entries are drh2016-09-30
| | | | | in the first Parse.nColCache slots. FossilOrigin-Name: 6028502059ccbd3699637b7a70a6d8ce1b7c3dad
* Avoid unnecessary Mem initializations when generating a new sqlite3_stmtdrh2016-09-30
| | | | | object. FossilOrigin-Name: 47ae1cda8dc255d100aeb8cb90ea4c9e449509be
* Small size and performance optimization to sqlite3VdbeChangeP5().drh2016-09-29
| | | FossilOrigin-Name: 3c93c8f5bbf54ed2a331079b28fdd94eb0e59e69
* Remove the peep-hole optimization of removing OP_Close opcodes that comedrh2016-09-29
| | | | | | before OP_Halt, as the extra work of removing those opcodes uses more cycles than just running them. FossilOrigin-Name: 984a96d79656c1b095aba1f88aca4bb787ba0bd8
* Avoid unnecessary calls to ExpandBlob() for smaller and faster code.drh2016-09-20
| | | FossilOrigin-Name: 5e196fd18169e84806cd45dd1a8190339323e772
* Revise the implementation of OP_Once so that it is smaller, faster, and usesdrh2016-09-18
| | | | | | less memory. This also fixes an obscure bug introduced 3 days ago by check-in [5990a1bdb4a073]. FossilOrigin-Name: 6bf5ba10d28f1b0a32aa9a560ae3143a1235eadb
* Slight size reduction and performance increase in sqlite3VdbeHalt().drh2016-09-15
| | | FossilOrigin-Name: 5990a1bdb4a0734ff23015ada71cf02d0cb1381f
* Optimization to vdbeRecordCompareInt() makes it slightly smaller and faster.drh2016-09-15
| | | FossilOrigin-Name: 5a2a7712cb8e0b686942dfab4e9e67b5ea7b2be3
* Performance improvements to the comparison operators in the bytecode engine.drh2016-09-09
| | | FossilOrigin-Name: 37803b19d219f4107f29b240d5d314600e4bd236
* Fix the extra comments (added with -DSQLITE_ENABLE_EXPLAIN_COMMENTS) so thatdrh2016-08-27
| | | | | | | | the sense of <, <=, >, and >= tests is correct and so that the SQLITE_STOREP2 version is shown correctly. These changes are already in the rowvalue branch but are added here since they are technically unrelated to rowvalue. FossilOrigin-Name: 4d43c4698eef4e3db7556813f0274b4018c7c2b9
* Add requirements marks to the sqlite3_trace_v2() interface documentation.drh2016-07-23
| | | FossilOrigin-Name: ebd388e94da4a2b29c2a546f832d359619803ec5
* Fix sqlite3VdbeExpandSql() so that it handles OOMs by always returning NULL.drh2016-07-23
| | | FossilOrigin-Name: 5a027fe4127d498e0dc0d9439131c6a29085cf0a
* Be sure to hold the database connection mutex while calling sqlite3VdbeExpand()drh2016-07-22
| | | | | from within sqlite3_expanded_sql(). FossilOrigin-Name: 527b5ba68c0b0185958b945b197f9022951d9379
* The sqlite3_expanded_sql() function compiles, but always returns NULL, whendrh2016-07-15
| | | | | the SQLITE_OMIT_TRACE compile-time option is used. FossilOrigin-Name: 53c25ebe34e6776a12260078852973b1d581d20f
* Fix copy/paste typo in the new sqlite3_expanded_sql() function.mistachkin2016-07-14
| | | FossilOrigin-Name: e7d18c70d2b8f09c9f5b978fe3d69d1088e42322
* Add the sqlite3_expanded_sql() interface. Refinements to thedrh2016-07-14
| | | | | sqlite3_trace_v2() interface to make it more useful. FossilOrigin-Name: 99ee7ee58d45b29a0000492306ddc0b90563ff51