aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeblob.c
Commit message (Collapse)AuthorAge
...
* | Sync the latest trunk changes, and in particular the STAT4 IS NOT NULL fix.drh2014-02-11
|\| | | | | FossilOrigin-Name: b006792695d23980e1923b21915d5c1138ecf29d
| * Delete the OP_VerifySchema opcode. Enhance OP_Transaction to do the schemadrh2014-02-06
| | | | | | | | | | version checks that OP_VerifySchema used to do. FossilOrigin-Name: 2f3376ebf13df44e6acf27cb1f07172cd8b34033
* | Merge the latest trunk changes into the sessions branch.drh2013-12-24
|\| | | | | FossilOrigin-Name: cfd110bf5db2c1993a5e2ca718648bd9c17ee22c
| * Show changes to the column cache when PRAGMA vdbe_addoptrace=ON is set.drh2013-12-18
| | | | | | FossilOrigin-Name: 4c6a659c432e4f7c0285f58675a67f967b07bb0d
* | Merge in performance enhancements from trunk.drh2013-11-26
|\| | | | | FossilOrigin-Name: fc9ae839569eb28eb734c52d95676c59b2e27494
| * Reduce the size of the VdbeCursor object from 144 to 120 bytes.drh2013-11-20
| | | | | | FossilOrigin-Name: 5f9d50688508affd0bc8e4d52e21dacfacdbb5ce
| * Rework the logic that factors constant expressions out of inner loops, makingdrh2013-11-15
| | | | | | | | | | it both simpler and faster. FossilOrigin-Name: 8dc5c76c766828d7c28090bec30ff48227e7b140
* | Merge in the WITHOUT ROWID changes. A few tests are failing now. They willdrh2013-11-11
|\| | | | | | | | | be fixed in a follow-on check-in. FossilOrigin-Name: 5addd1234ded59ce60fb633b76ac87d483377edd
| * Many new test cases added, that mostly work. Currently 18 errors in drh2013-11-02
| | | | | | | | | | | | without_rowid3.test. Also there is a hack marked by a /*FIXME*/ comment on at fkey.c:547 that needs fixing. FossilOrigin-Name: 39e32187b66405e00dbd44685f6cdd269c90f5e5
| * The Index object now has nKeyCol and nColumn. nColumn is the total numberdrh2013-10-22
| | | | | | | | | | | | of columns and nKeyCol is the number of key columns. Currently these always differ by one. Refactor aiColumn[] to be of type i16 instead of int. FossilOrigin-Name: a106ce86cd4afd1f81603826de77df1fb25e9ab5
* | Merge the latest trunk changes into the sessions branch.drh2013-04-22
|\| | | | | FossilOrigin-Name: 6994826c0784280f2e9728dfa4185848846d03df
| * Increase the default SQLITE_MAX_SCHEMA_RETRY to 50. Make sure that macrodrh2013-04-06
| | | | | | | | | | | | | | covers every case where a prepared statement might need to be reprepared due to a schema change. The sqlite3_exec() interface now uses sqlite3_prepare_v2(). FossilOrigin-Name: c1d7304c80c4a6244c8a9f6fad1eebd0f339c724
* | Merge the latest trunk changes into the sessions branch.drh2011-09-16
|\| | | | | FossilOrigin-Name: 5efb02949dbeabccfe1d848d275529f03f3dfc84
| * Add the new OP_Once opcode. Use it to clean up and simplify variousdrh2011-09-16
| | | | | | | | | | | | one-time initialization sections in the code, including the fix for ticket [002caede898ae]. FossilOrigin-Name: 7f00552b739fad79517b042a6ed61abe743a917b
* | Avoid segfaulting on an incremental blob write if SQLITE_ENABLE_PREUPDATE_HOOKdrh2011-08-03
| | | | | | | | | | set but no pre-update hooks are defined. FossilOrigin-Name: 62c446340475b52b843c0345eda32ebe86fa9159
* | Modifications so that the sessions extension works with blob handles.dan2011-07-11
|/ | | FossilOrigin-Name: 82ac16c4f873d3bd7c22f36ba7b974b4903a2d50
* Refactor the SQL parameter processing so that parameter names for valuesdrh2011-06-01
| | | | | that are optimized out of the prepare statement are not forgotten. FossilOrigin-Name: b3aaf715b60b8a338cc6c92dad1ead4a3f7146a3
* Add a generation counter to the Schema object and enhance OP_VerifySchemadrh2011-03-18
| | | | | | to also check the Schema generation. Fix for ticket [f7b4edece25c99]. FossilOrigin-Name: 36c04dd1695f0899b53ce58738181b146fc005ed
* Have sqlite3_blob_bytes() return 0 following a failed call to ↵dan2010-12-06
| | | | | sqlite3_reopen_blob(). FossilOrigin-Name: 476a8b492124d31e0656e61a6183ab55684c0bdf
* Structural coverage tests for vdbeblob.c. Including experimental new API ↵dan2010-10-26
| | | | | sqlite3_blob_reopen(). FossilOrigin-Name: 97c6b2616ddcce2337778c6ee88a973cc4fe999d
* Add missing header comments for changes related to the experimental ↵dan2010-10-26
| | | | | sqlite3_blob_reopen() API. FossilOrigin-Name: d1cc5c93f09c9092ec478c04e8d9a8b1f9c0cb04
* Merge trunk changes into experimental branch.dan2010-10-21
|\ | | | | FossilOrigin-Name: fd1e5cade04961c2f5438a1dfcc2e15eafb4503f
| * Fix some segfaults that could occur in obscure circumstances where error ↵dan2010-10-21
| | | | | | | | | | messages contained characters that could be mistaken for printf format specifiers. FossilOrigin-Name: f91471e7234db490f97298b1ccb8d6c7fc45b089
* | Updates to FTS4 to improve performance and make more accurate cost estimates ↵dan2010-10-20
|/ | | | | for prefix terms. FossilOrigin-Name: d0a450ce78e99f55c862f26f9332786660007a0a
* Fix an assert() failure that could occur if compiling with OMIT_SHARED_CACHE.dan2010-06-19
| | | FossilOrigin-Name: 3e76a9f2c041a6d36614f540bb89588703d85925
* Continuing improvements to error reporting and the sqlite3_log() routine.drh2010-02-23
| | | FossilOrigin-Name: edea3bb740ddd096a46e00678b59d465bb1e2903
* Remove the obsolete sqlite3SafetyOn() mechanism. Add additional loggingdrh2010-02-23
| | | | | output for CORRUPT, and CANTOPEN errors. FossilOrigin-Name: 7c4cca6d1a23a6d1591b62f58c3716a944969947
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Add a test to check that the incrblob API cannot be used to write to an IPK ↵dan2009-10-02
| | | | | column. Also a comment to explain why the incrblob code does not need to check if a column is part of a parent key before writing to it. FossilOrigin-Name: dca2a7f608d9237039541707846c76cd460f5805
* Check in implementation of foreign key constraints.dan2009-09-19
| | | FossilOrigin-Name: d5d399811876391642937edeb9e8434dd9e356f5
* Combine the OP_Statement and OP_Transaction opcodes.dan2009-09-08
| | | FossilOrigin-Name: aec9dbd8d21c55c3945287a3dfa55d3ed168f977
* Changes to support recursive triggers.dan2009-08-28
| | | FossilOrigin-Name: 9b9c19211593d5ff7b39254a29c284560a8bcedb
* Cause opening a transaction on a sharable b-tree module automatically obtain ↵danielk19772009-07-02
| | | | | a read-lock on page 1. This means there is no way for sqlite3BtreeGetMeta() to fail. (CVS 6836) FossilOrigin-Name: e3c055f167f895ae45858de9d9d8a264df2f36b6
* Cause incremental-blob read/write operations lock shared-cache tables in the ↵danielk19772009-06-29
| | | | | same way as normal SQL read/writes. Add complex assert statements to make sure tehe correct shared-cache locks are held when accessing the database. Eliminate some redundant checks from btree.c. (CVS 6830) FossilOrigin-Name: f17ef37897da9bcaf20b5acdce6840522c0a0b16
* Avoid allocating large objects on the stack in the incremental BLOB I/Odrh2009-06-01
| | | | | interface. (CVS 6703) FossilOrigin-Name: ea7dfde700fb57ed0ecb5000a55abbf45aa1e09d
* Change sqlite_blob_open() so that it zeros the output pBlob pointer whendrh2009-05-09
| | | | | | it fails. The other sqlite3_blob interfaces accept a NULL pointer as input. (CVS 6622) FossilOrigin-Name: 999d507b4432b518cfc7e02e5b0a2473cf1980f6
* Changes to insure that lookaside memory allocations are never used to hold drh2009-03-24
| | | | | | schema content. Ticket #3743. (CVS 6377) FossilOrigin-Name: ea74d8dc62f5784089aa8ef098e97c505a79b176
* Fix a couple of fairly obscure cases where an assert() could fail following ↵danielk19772009-03-19
| | | | | a malloc failure. (CVS 6360) FossilOrigin-Name: cc0d925669ddeb55048e88aa5b4f658be60b0962
* Removed compiler warnings from MSVC builds. Ticket #3701. (CVS 6335)shane2009-03-05
| | | FossilOrigin-Name: 5477833ec7f707ea9937d3fd6a6d8ab49f2016f1
* Instead of using SetNumColumns, specify the number of columns in a table or ↵danielk19772009-02-20
| | | | | index using the P4 argument. (CVS 6310) FossilOrigin-Name: e43ed649630cbc49a6f2a25a26a4a6b5fce84c48
* Add a count parameter to the OP_Variable opcode and use it to simplifydrh2009-02-20
| | | | | | prepared statements that copy consecutive unnamed parameters into consecutive registers (a common case). (CVS 6309) FossilOrigin-Name: 48b77b04935d8942eb22f0c061f3bc5e99bbd7db
* Fix for sqlite3_blob_write(): If either 3rd or 4th argument is less than ↵danielk19772008-10-02
| | | | | zero, return SQLITE_ERROR. H17879. (CVS 5762) FossilOrigin-Name: f6074c0b9b5ba51d131509dba2aec80d0fcf3b7e
* Implement the "lookaside" memory allocation cache. Use of this cache makesdrh2008-07-28
| | | | | | the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) FossilOrigin-Name: e48f9697e9fea339e150ddc32940760027dd07d9
* Remove unused code. Test coverage enhancements. Modify the algorithm useddrh2008-07-10
| | | | | | to select column names for VIEWs of joins so that the constructed column names omits the underlying table names. (CVS 5386) FossilOrigin-Name: 636cd723296a8b1709011fdd99b236ffddf3f1b0
* Fix a problem with the incremental blob API. sqlite3_blob_open() was always ↵danielk19772008-06-16
| | | | | reading the data for the leftmost column of the row that the opened blob was stored in. If this column happened to contain a (the) large blob, sqlite would make a large memory allocation to read the data into. Which defeats the purpose of using incremental blobs. (CVS 5222) FossilOrigin-Name: 1b9478da2f421c1270e76297324fff8037d2f231
* Ensure that it is not possible to open either virtual table or view columns ↵danielk19772008-04-24
| | | | | using the blob API. Ticket #3078. (CVS 5041) FossilOrigin-Name: 6039328fe05aaf9380d545e84dfabccb32a4d8ea
* Use a vdbe memory cell to allocate the space required for vdbe cursors. (CVS ↵danielk19772008-03-25
| | | | | 4912) FossilOrigin-Name: 047153648155654b0cd70b811935209d2e21776c
* Error messages says "no such view" instead of "no such table" whendrh2008-01-25
| | | | | trying to DROP a VIEW that does not exist. (CVS 4750) FossilOrigin-Name: 50815a82e0ec9a5c1399f5fe6ef416434b55a821
* Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear whendrh2008-01-23
| | | | | compiling without -DSQLITE_DEBUG=1. (CVS 4744) FossilOrigin-Name: 5375ad6b4b652f388469b0ce4e8e78b3f49169bd
* More work toward converting the VM into a register-based machine. (CVS 4704)drh2008-01-10
| | | FossilOrigin-Name: 8cbd46517f407b3b1ce187b623db10f00aa415ea