aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeblob.c
Commit message (Collapse)AuthorAge
* 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
* Change OP_OpenRead and OP_OpenWrite so that the database number is read from ↵danielk19772008-01-03
| | | | | the P3 operand, not the stack. (CVS 4663) FossilOrigin-Name: 35da261daf602b1e938f05bbad1ff99213d9f4b9
* Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328)drh2007-08-30
| | | FossilOrigin-Name: e40d40a5d41c491bef852a92e5846b273b206909
* Improvements to mutex asserts. The quick test runs to completion withoutdrh2007-08-29
| | | | | assertion faults. (CVS 4324) FossilOrigin-Name: 2732af0ec77dbc90c0439b6a61d893d9ea3b5697
* The sqlite3_value object now carries an sqlite3* pointer to use fordrh2007-08-21
| | | | | | recording malloc failures. This eliminates the need to pass sqlite3* pointers into many internal interfaces. Also added more mutexing. (CVS 4263) FossilOrigin-Name: 9287276191a582c1cf7cf6b71d8399727d8e534d
* Readded the sqlite3_open_v2() interface. No test cases yet.drh2007-08-21
| | | | | Additional progress toward adding mutexes to all interfaces. (CVS 4261) FossilOrigin-Name: 3787563e90d7210d349ee36484c3f008c955552e
* Half-way through a major refactoring of the memory allocation.drh2007-08-16
| | | | | | I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) FossilOrigin-Name: deb7ecd65f7b83eaf0ba610eeef3b0ede61db1c3
* Set the connection error code when sqlite3_blob_read() ordrh2007-06-27
| | | | | sqlite3_blob_write() fail. Ticket #2464. (CVS 4137) FossilOrigin-Name: 3bd990be3cb8a74be9eaa8d5710852be6733cb58
* Fix the amalgamation generator so that all non-API functions have file ↵drh2007-05-08
| | | | | scope. (CVS 3958) FossilOrigin-Name: e9f56ead0514f3eac75807ea710c1f035b8add4f
* Factor out btree test logic into a separate test_btree.c file. (CVS 3928)drh2007-05-05
| | | FossilOrigin-Name: d51274f1cc3a75f6a03e90259ce829ac1dacf78f
* Test interaction of incremental io and other database writes. (CVS 3922)danielk19772007-05-04
| | | FossilOrigin-Name: 4516416b4d38679ea7d259155f241e54c4c58d7d
* Eliminate all uses of sprintf() and strcpy(). These were not beingdrh2007-05-04
| | | | | | misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) FossilOrigin-Name: ba4845b32bdf38e623c4f7246e6e327715bbba4b
* Test cases and corrections to IO and malloc() error handling in incremental ↵danielk19772007-05-04
| | | | | blob IO functions. (CVS 3915) FossilOrigin-Name: 641e55284e1ba6070073c83ac6ed78ffb29f7e60
* Test some more incremental IO error cases. (CVS 3910)danielk19772007-05-03
| | | FossilOrigin-Name: 64705410bdf43b6283f7a7e59ce8c20d09cd46e4
* Test cases and minor bugfixes for incremental blob APIs. (CVS 3907)danielk19772007-05-03
| | | FossilOrigin-Name: e12c522383bd40af375a52d2e68612c4dc7fd4db
* Minor bugfixes for incrblob mode. (CVS 3903)danielk19772007-05-03
| | | FossilOrigin-Name: db54a9466e3bea9c03740ce0b755cfa02bafaccd
* Cache the location of overflow pages in cursors used for incremental blob ↵danielk19772007-05-02
| | | | | IO. (CVS 3899) FossilOrigin-Name: 349f1ea7895f06c40affc985a13aa6686dfdea07
* First approximation of incremental blob IO API. (CVS 3892)danielk19772007-05-01
FossilOrigin-Name: c444836e7b690c16dd6acff571c613a23beb42dc