aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Add test cases for sqlite3_db_mutex(). (CVS 5862)danielk19772008-11-04
| | | FossilOrigin-Name: f818e8e5cb20c51922d0b5424f17649e0692f273
* Enhance documentation of sqlite3_db_mutex(). (CVS 5861)drh2008-11-04
| | | FossilOrigin-Name: 3aed410ab08557ec92101e5d7c4c90ba50555ddc
* Avoid a segfault when OOM on a simple EXPLAIN query. Ticket #3478. (CVS 5860)drh2008-11-04
| | | FossilOrigin-Name: acf26cc0f77b3a308d86f6dc02ecda66a4b12fd0
* Add the sqlite3_db_mutex() interface. No test cases yet. (CVS 5859)drh2008-11-04
| | | FossilOrigin-Name: d95de32e8ded397adeef8f7a29b87bc85669ac95
* Change the name of the Cursor object to VdbeCursor. (CVS 5857)drh2008-11-03
| | | FossilOrigin-Name: fdb98fd8c1706085ebeef8e48ac6737839bed5e5
* Modify an assert() statement to fix #3473. No other code changes. (CVS 5856)danielk19772008-11-03
| | | FossilOrigin-Name: aca6b260c0dd1a1515b70f3567a0653b6bcdeea2
* Fix a bug reported on the mailing list triggered by the pattern "SELECT ↵danielk19772008-11-03
| | | | | <col>, (SELECT ... FROM tbl WHERE rowid > <col>) FROM ...". (CVS 5855) FossilOrigin-Name: 6c918c4eb9362ebfdbe0486515679102b2862970
* Change the way sqlite3VdbeSetColName() is called so as to remove a few lines ↵danielk19772008-10-31
| | | | | of code. This also fixes #3470. (CVS 5853) FossilOrigin-Name: bfce91429b1dad6e0ca36929e41a7adfb30f8522
* Fix a faulty assert() in the merge implementation of the UNION operator.drh2008-10-30
| | | | | Ticket #3467. (CVS 5852) FossilOrigin-Name: cd1662e964d9c071a41038676c5a6ef2c990f1ac
* Fix a crash that can follow a malloc failure in sqlite3ValueFromExpr(). ↵danielk19772008-10-30
| | | | | Ticket #3468. (CVS 5851) FossilOrigin-Name: 0996783b1b7e6dda166565071cbd19f23e7edbbc
* Add the sqlite3_extended_errcode() interface. Change to returndrh2008-10-30
| | | | | | SQLITE_BUSY instead of SQLITE_ERROR when a COMMIT is attempted and one or more queries are still pending. (CVS 5850) FossilOrigin-Name: 4c6a90a16627b1664bf7f15ab40b440b3bd60b48
* If a hot-journal file is detected but the application does not have the ↵danielk19772008-10-29
| | | | | required read/write permissions, return SQLITE_CANTOPEN. Prior to this change, SQLITE_BUSY was returned. Ticket #3457. (CVS 5849) FossilOrigin-Name: dc5308c7629abe6a3bad21489c8e97087c264e5a
* Remove the vestigial mem4 and mem6 memory allocators. Add thedrh2008-10-28
| | | | | | SQLITE_ZERO_MALLOC compile-time option and the mem0.c module to handle memory allocation for that case. (CVS 5848) FossilOrigin-Name: 4651f590f0b8bf13938b2b15d5082136e763af8d
* Add data structure description comments to memjournal.c. (CVS 5847)drh2008-10-28
| | | FossilOrigin-Name: e9c2adbcbf5c28837b06e0fbba93f1764cc3607f
* Avoid exposing internal interfaces sqlite_attach() and sqlite_detach() as ↵danielk19772008-10-28
| | | | | SQL scalar functions. Ticket #3466. (CVS 5846) FossilOrigin-Name: 679c0b35aaa1ea488a205cc03802e7078a2bcf29
* If an SQLITE_DELETE authorization callback returns SQLITE_IGNORE, proceed ↵danielk19772008-10-27
| | | | | with the delete operation but disable the truncate optimization. (CVS 5845) FossilOrigin-Name: 65a2e131732399f0f14f982eb0689482fdb87b6c
* Make sqlite3_count_changes() and total_changes() work with "DELETE FROM ↵danielk19772008-10-27
| | | | | <table-name>". (CVS 5844) FossilOrigin-Name: e68e4282adb9003aa297d033aeb5d9cadee215cd
* Remove some if() conditions that are always true from delete.c. (CVS 5843)danielk19772008-10-27
| | | FossilOrigin-Name: 297ad90dd3a69002e6e4175e9e3938b3a627574d
* Disable the result-set alias cache when on conditional code branches.drh2008-10-25
| | | | | | | | Ticket #3461. The column cache and result set alias cache mechanisms are prone to this kind of error and need to be refactored. This check-in should be considered a temporary fix in advance of a more general redesign of the whole mechanism. (CVS 5841) FossilOrigin-Name: 1fa3bbd8220ce073e91935ea362b6f5d5d6d2859
* Fix a bug in pragma table_info. Column default values specified as negative ↵danielk19772008-10-23
| | | | | numbers (col DEFAULT -1) were being reported as NULL by the pragma. (CVS 5839) FossilOrigin-Name: 0e448bc6096c7ee3b21dbd22dc4ca9470ae7ba31
* Removed some more dead code and fixed some unresolved externals for WINCE. ↵shane2008-10-22
| | | | | Ticket #3420. (CVS 5837) FossilOrigin-Name: 5276e31d42070e7b94bd6050c4fa484dfbfe98ca
* Make sure variable declarations occur first in code blocks. (CVS 5836)shane2008-10-22
| | | FossilOrigin-Name: b78f44c91fcf3920e69c11a6f72e8f032905a3c7
* Fix an assert() failure that can occur following a malloc() failure. Ticket ↵danielk19772008-10-22
| | | | | #3455. (CVS 5834) FossilOrigin-Name: e0d3aa75b4fa0e706185a3058b5962916e30d066
* When a name in double quotes falls back to being a string literal,drh2008-10-19
| | | | | make sure it has no affinity. Ticket #3442. (CVS 5832) FossilOrigin-Name: 81cfee5c14f241f5ae7f607d73b0b5cb821cda24
* Add the memjournal.c file that should have been with the previous checkin. ↵danielk19772008-10-17
| | | | | (CVS 5831) FossilOrigin-Name: 0509eff0e6b5cdeeb52c12c0574ea63e9715bcb5
* Add "pragma journal_mode=memory". Change the way rollback works for ↵danielk19772008-10-17
| | | | | in-memory databases so that it reuses the journal_mode=memory code. (CVS 5830) FossilOrigin-Name: 39ebf01addf9d0867daafd06a38719e725128f9c
* Fix a typo in documentation. Ticket #3447. (CVS 5829)drh2008-10-17
| | | FossilOrigin-Name: 5ce2ddffea807d45318619cc9e259a99dfa14346
* Fix an error in (5826). (CVS 5828)danielk19772008-10-16
| | | FossilOrigin-Name: 8065a92f705dfa04863ba4a828f5bd2803901be8
* Fix a naming problem when SQLITE_MUTEX_NOOP is used. (CVS 5827)drh2008-10-15
| | | FossilOrigin-Name: 35ce71c6f19953a17aa37abe1c0c97685070e2f6
* Do not open and sync the directory in unixDelete() if the ↵danielk19772008-10-15
| | | | | SQLITE_DISABLE_DIRSYNC option is defined. (CVS 5826) FossilOrigin-Name: 8ef141644edc5182785c6a554222c2ffbe92fef5
* After running speed1.test and speed1p.test, reset the size of the lookaside ↵danielk19772008-10-15
| | | | | buffer. Otherwise, subsequent runs of malloc5.test may report an error. Changes to test code only. (CVS 5824) FossilOrigin-Name: 9283478e69d84aa99b2d4636587c8c0b34e7c4da
* Fix the xRandomness() method on the unix VFS to return the number of bytesdrh2008-10-14
| | | | | of randomness obtained. (CVS 5821) FossilOrigin-Name: b7687e2f2dfa5b0a01ba87ae0bf13684cda50499
* fix a few return codes in the OS/2 VFS (CVS 5817)pweilbacher2008-10-13
| | | FossilOrigin-Name: 4e978a40f7ee93b09093e82173edc74a992aadeb
* Fix the SQLITE_OMIT_DATETIME_FUNCS compile-time option so that it buildsdrh2008-10-13
| | | | | successfully. (CVS 5815) FossilOrigin-Name: c3f91645159511250c9f86c2a97d819f0253d182
* If sqlite3_column_value() is called to obtain a value with the MEM_Static ↵danielk19772008-10-13
| | | | | flag set, clear it and set the MEM_Ephem flag before returning. Otherwise, if the value is passed to sqlite3_bind_value() or sqlite3_result_value(), sqlite may attempt to use the buffer after the statement has been finalized. This is not always valid, as MEM_Static only guarantees that a MEM.z buffer will be valid for the lifetime of the owner statement, not that it is actually a static buffer. (CVS 5812) FossilOrigin-Name: b055bfc4e5268d8a66d6a4f5e8aec1285fe4b8e7
* Check for failures in winTruncate. Ticket #3415. (CVS 5811)shane2008-10-12
| | | FossilOrigin-Name: 500c50561fba88948aad21d1aef1e1e96ab8c3aa
* Added SQLITE_OMIT_DEPRECATED compile time option to leave out deprecated ↵shane2008-10-12
| | | | | functions. Updated test scripts to skip tests of deprecated functions if they are compiled out. (CVS 5808) FossilOrigin-Name: ba3711acee6f4659bbf133a23d8f9f37e14d0f38
* Add macros tests so that the compiler always recognizes that x86_64 is ↵drh2008-10-11
| | | | | little endian. (CVS 5807) FossilOrigin-Name: b201e7093c7c47b23b0f17a0890a344f3792d6d3
* When transfering an error message from a statement handle to the database ↵danielk19772008-10-11
| | | | | handle so that it can be accessed by sqlite3_errmsg(), a malloc may fail. If this malloc fails, it is considered benign. (CVS 5806) FossilOrigin-Name: 311003aff85e6b6c47e854d33f46eee31da6f30c
* Conditionally omit prototypes in pcache.h when the corresponding routinesdrh2008-10-11
| | | | | are not used. Ticket #3430. (CVS 5805) FossilOrigin-Name: 977ae12c365846e1bc582fd17146151953b5ed68
* Fix to sqlite3DbMallocRaw() when SQLITE_OMIT_LOOKASIDE is defined so thatdrh2008-10-11
| | | | | | once it fails it continues to fail. Add a comment explaining why this is important. (CVS 5804) FossilOrigin-Name: 63dd8be70d333c56171dfd254406abb1af685b0f
* Fix a OOM segfault in the BETWEEN operator parsing - discovered whiledrh2008-10-11
| | | | | | using SQLITE_OMIT_LOOKASIDE. Add SQLITE_OMIT_LOOKASIDE to test_config.c and bypass lookaside.test when defined. (CVS 5803) FossilOrigin-Name: 2a21d52c651ba113c472b6686dcf8ba009924305
* Fix a memory leak on ORDER BY of a compound select caused by the resolverdrh2008-10-11
| | | | | on a flattened query. Also fix a OOM segfault in WHERE clause processing. (CVS 5801) FossilOrigin-Name: d2c252d6bbde4ae14da6c9e6c2683d763d11c59f
* Added an assert() to detect lookaside memory leaks. Also added thedrh2008-10-11
| | | | | | SQLITE_OMIT_LOOKASIDE compile-time option which is useful in trying to track down lookaside memory leaks. (CVS 5800) FossilOrigin-Name: 0c4c66071a46cecc5f87afb8f8f01ae2c90ee9b3
* Fix an assertion fault that occurs with SQLITE_THREADSAFE=0. (CVS 5799)drh2008-10-11
| | | FossilOrigin-Name: 28bba42b338afd63e1dad9f431d631f6f3027275
* Add the SQLITE_OMIT_TRUNCATE_OPTIMIZATION option. Other unrelateddrh2008-10-10
| | | | | documentation enhancements. (CVS 5798) FossilOrigin-Name: fab4940d54fd1e5459a3d0d9b64b491e6972fd8d
* Further simplifications of the code for the LIMIT clause on an UPDATE or ↵shane2008-10-10
| | | | | DELETE. Added a few test cases to wherelimit.test. (CVS 5797) FossilOrigin-Name: 282c6a46b25f4e4278fd4c8b0b1cde1de28d8f51
* Change 'pragma foreign_key_list' to return some extra information. (CVS 5795)danielk19772008-10-10
| | | FossilOrigin-Name: 3bb33cf59da49f13201c0226e964cda067a4e780
* Simplify the symbol hash table to use only a single key class. Otherdrh2008-10-10
| | | | | changes to improve code coverage. (CVS 5794) FossilOrigin-Name: ff50a8a7e5a15fac192939ff3206fa18d1c5a6dd
* Documentation updates. No changes to code. (CVS 5793)drh2008-10-10
| | | FossilOrigin-Name: 07b5f70317a0b2d32df86a01bdeec79ead00f68c