0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-01-08 09:29:02 +00:00

Commit Graph

  • c551dd804a Change the name of the "limits.h" source file to "sqliteLimit.h". Ticket #2428. (CVS 4091) drh 2007-06-19 15:23:48 +00:00
  • b21f87dda1 Do not segfault even if sqlite is misused by requesting query results after the query has been reset. ticket #2426. (CVS 4090) drh 2007-06-19 10:58:24 +00:00
  • 63fff5f7a5 Cast the 2nd parameter of ftruncate to off_t to work around bugs in some unix implementations. Ticket #2425. (CVS 4089) drh 2007-06-19 10:50:38 +00:00
  • 74792b2f91 Another attempt to fix the build process for TCL windows bindings. (CVS 4088) drh 2007-06-18 17:44:16 +00:00
  • 8ffa817305 Bring the pager_datahash() macro into sync with its function definition. Ticket #2422. (CVS 4087) drh 2007-06-18 17:25:17 +00:00
  • 455cd796f6 Fix the build scripts so that they generate Tcl bindings for windows correctly. (CVS 4086) drh 2007-06-18 16:06:20 +00:00
  • e91f2b75d6 Version 3.4.0 (CVS 4085) drh 2007-06-18 13:33:58 +00:00
  • 44548eccb9 Documentation updates prior to release 3.4.0. Enhanced support for soak testing in the test scripts. (CVS 4084) drh 2007-06-18 12:22:43 +00:00
  • 4f0aee41c3 Fix a faulty assert() in the pager. (CVS 4083) drh 2007-06-16 18:39:41 +00:00
  • 68a6b5ec98 Modify the tests in exclusive2.test to account for the fact that the pager cache may be very small by default. These tests are only valid if the entire database fitting in the cache. (CVS 4082) danielk1977 2007-06-16 14:43:51 +00:00
  • b3905ab5e1 Add another scenario to the soak1.tcl script. (CVS 4081) drh 2007-06-16 14:19:36 +00:00
  • 732c817f8b A minor logic correction in the previous check-in. Also added a lengthy comment describing the meanings of various flags in the {quote: PgHdr} structure. (CVS 4080) drh 2007-06-16 11:17:45 +00:00
  • 5e3853112a Fix a database corruption problem that can occur in auto-vacuum mode when a malloc() failure causes a statement rollback, additional statements are run in the same transaction, then the total transaction rolls back. (CVS 4079) drh 2007-06-16 04:42:12 +00:00
  • 477731b52d Additional debugging instrumentation added to the pager. (CVS 4078) drh 2007-06-16 03:06:27 +00:00
  • 7d7f17b6a8 Make arrangements to optionally print a debug message at the point of a simulated malloc() failure when SQLITE_MEMDEBUG is defined. (CVS 4077) drh 2007-06-15 20:29:20 +00:00
  • 341ae48332 Fix more documentation typos. Ticket #2416. (CVS 4076) drh 2007-06-15 18:59:08 +00:00
  • daf276d466 Remove a C++ism from the test harness. Get the TCL interface working with older versions of TCL. (CVS 4075) drh 2007-06-15 18:53:14 +00:00
  • 2df37c0390 Add a script for "soak" testing. (CVS 4074) drh 2007-06-15 18:43:37 +00:00
  • 3586110b4a Fix a race condition in test_server.c/test7.c (test changes only). (CVS 4073) danielk1977 2007-06-15 17:50:04 +00:00
  • bc9c9b9964 Fix typo in change comments for 3.4.0. Ticket #2416 (CVS 4072) drh 2007-06-15 17:04:37 +00:00
  • 43b788260e Fix a memory leak in the parser that can occur following a malloc failure. (CVS 4071) drh 2007-06-15 17:03:14 +00:00
  • edaaec223c Fix an obscure memory leak in the SQL compiler.. (CVS 4070) danielk1977 2007-06-15 16:37:29 +00:00
  • 5bd1bf2ebc Fix a memory leak that was discovered by the tests that were added to cover ticket #2339. (CVS 4069) drh 2007-06-15 15:31:49 +00:00
  • ca306519bc Fix a test suite bug. To accommadate the fact that handles returned by (db incrblob) change for the second test suite iteration of full.test. (CVS 4068) danielk1977 2007-06-15 15:08:08 +00:00
  • de523acceb Fix for #2415. The progress handler should abandon only the current query, not all active queries. (CVS 4067) danielk1977 2007-06-15 14:53:53 +00:00
  • 9142a83dd4 Do not try to run the fuzz_malloc tests if SQLITE_MEMDEBUG is not enabled. (CVS 4066) drh 2007-06-15 13:57:19 +00:00
  • 1a3a188ac7 Clean up a variable in tkt2409.test that would cause subsequent tests to fail. (CVS 4065) drh 2007-06-15 12:41:02 +00:00
  • 711ffd8c76 Documentation updates in preparation for 3.4.0. (CVS 4064) drh 2007-06-15 12:16:31 +00:00
  • 8030869589 Update the btree file format description in btreeInt.h. (CVS 4063) drh 2007-06-15 12:06:58 +00:00
  • 6ed48bf6d7 The C-api reference documentation is now generated directly from comments in the sqlite3.h header file. (CVS 4062) drh 2007-06-14 20:57:18 +00:00
  • 3fe11f3021 Have queries interrupted by the progress-handler return SQLITE_INTERRUPT. Rollback any active transaction if a DML statement returns SQLITE_INTERRUPT. (CVS 4061) danielk1977 2007-06-13 16:49:48 +00:00
  • e965ac7773 Fix for #2409. Return SQLITE_IOERR_BLOCKED instead of SQLITE_BUSY in cases where failure to obtain a database lock leaves the cache in an inconsistent state. See additional information at CorruptionFollowingBusyError. (CVS 4060) danielk1977 2007-06-13 15:22:28 +00:00
  • 109b43507d In the "transaction" command of the TCL interface, if a COMMIT fails finish it with a rollback. (CVS 4059) drh 2007-06-12 18:50:13 +00:00
  • 401b80656d Minor comment edits from my prefix development client. No code changes. (CVS 4058) shess 2007-06-12 18:20:04 +00:00
  • cd81dc4b13 Fix typo in the limits.html document. Ticket #2410. (CVS 4057) drh 2007-06-11 23:23:24 +00:00
  • 9c86df5269 Fix a bug in the LIKE optimization that was causing the pattern string to be dequoted twice. Ticket #2407. (CVS 4056) drh 2007-06-11 12:56:15 +00:00
  • b39fa65289 Add a README.txt file for the ICU extension. (CVS 4055) danielk1977 2007-06-11 08:00:00 +00:00
  • 7361cb1f2c Define isnan() on windows. Ticket #2399. (CVS 4054) drh 2007-06-10 22:57:33 +00:00
  • b0e64f33da Documentation updates, in particular in the new limits.html file is added. (CVS 4053) drh 2007-06-09 09:53:51 +00:00
  • 3b62b2fa8b Use C-sylte comments exclusively, never C++ comments. Ticket #2406. (CVS 4052) drh 2007-06-08 18:27:03 +00:00
  • b70429577f Additional test cases for comparisons against NULL in the WHERE clause and elsewhere in a SELECT. (CVS 4051) drh 2007-06-08 08:43:10 +00:00
  • f07b484449 Make sure rowid comparisons against NULL work correctly. Ticket #2404. (CVS 4050) drh 2007-06-08 08:39:01 +00:00
  • 0a168377ad Fix the query optimizer so that it correctly handles constant expressions in the ON clause of a LEFT JOIN. Ticket #2403. (CVS 4049) drh 2007-06-08 00:20:47 +00:00
  • 98640a3fa1 Make sure zeroblob does reasonable things with a negative argument or an argument that is larger than the maximum blob size. (CVS 4048) drh 2007-06-07 19:08:32 +00:00
  • 6c900c3df7 Fix an error in test file sqllimits1.test that was causing a test to fail when SQLITE_MAX_EXPR_DEPTH was defined. (CVS 4047) danielk1977 2007-06-07 15:45:35 +00:00
  • 0325d8731b Add the SQLITE_MAX_COMPOUND_SELECT compile-time parameter for limiting the number of terms in a compound select statement. Set the default limit to 100. (CVS 4046) drh 2007-06-07 10:55:35 +00:00
  • 39984cdc8b Fix a vdbe stack leak that could occur where one side of a WHERE clause inequality evaluated to SQL null. (CVS 4045) danielk1977 2007-06-02 07:54:37 +00:00
  • 9afe689ea4 Extend out-of-memory testing with fuzzily generated sql some. One fix for a problem found by the same. (CVS 4044) danielk1977 2007-05-31 08:20:43 +00:00
  • c9cf901d8c Add some extra tests for malloc failure during expression parsing and execution using fuzzily generated SQL. (CVS 4043) danielk1977 2007-05-30 10:36:47 +00:00
  • 5453b8da9e Add the start of the soak-test infrastructure. (CVS 4042) danielk1977 2007-05-30 08:18:04 +00:00
  • 6b28f053fd Fix a problem with zeroblob() and CAST(...) expressions that could cause an assert() to fail. (CVS 4041) danielk1977 2007-05-30 06:19:32 +00:00
  • bcbb04e501 Consider explicit collate clauses when matching WHERE constraints to indices. Fix for #2391. (CVS 4040) danielk1977 2007-05-29 12:11:29 +00:00
  • 331bf02e0e Add some tests to verify that the parameter to the incremental_vacuum pragma is working. It is. (CVS 4039) danielk1977 2007-05-24 10:18:22 +00:00
  • e48b1f1e9b Fix a typo in comments in sqlite.h.in. No code changes. Ticket #2384. (CVS 4038) danielk1977 2007-05-24 09:44:10 +00:00
  • 369f3a050c Remove an assert() statement that may not be true if an IO or malloc error has occured. (CVS 4037) danielk1977 2007-05-24 09:41:20 +00:00
  • deb403e797 Fix a page reference leak that could occur after an IO error. (CVS 4036) danielk1977 2007-05-24 09:20:16 +00:00
  • d3a29ce7dc Remove an incorrect assert() statement that was being triggered by ioerr tests run in utf-16 mode. (CVS 4035) danielk1977 2007-05-24 07:47:06 +00:00
  • 2df71c742c Fix an assert() failure occuring in corrupt.test. (CVS 4034) danielk1977 2007-05-24 07:22:42 +00:00
  • 7677c0cc62 Add some code to MemTranslate() to prevent the READ_UTF8() macro from overreading a buffer. (CVS 4033) danielk1977 2007-05-23 16:23:09 +00:00
  • 17a240a25e Make sure the database schema has been read before compiling an incrmental_vacuum pragma. (CVS 4032) danielk1977 2007-05-23 13:50:23 +00:00
  • 89a4be8af1 Fix a leaked page reference that could occur after an IO error in auto-vacuum databases. Also modify incrvacuum.test to work with DEFAULT_AUTOVACUUM=1 builds. (CVS 4031) danielk1977 2007-05-23 13:34:32 +00:00
  • 4ef24490a1 Fix a database corrupting bug in the optimistic overflow chain. Exposed by running bigrow.test with auto-vacuum enabled. (CVS 4030) danielk1977 2007-05-23 09:52:41 +00:00
  • 7a4f5023a4 Additional comments ono the SQLITE_MIXED_ENDIAN_64BIT_FLOAT issue. (CVS 4029) drh 2007-05-23 07:20:08 +00:00
  • 50027d1c0c Make sure zeroblob() works with the concatenation operator. Ticket #2379. (CVS 4028) drh 2007-05-23 06:31:38 +00:00
  • 76f559689a Increase the number of repititions in crash.test. (CVS 4027) danielk1977 2007-05-23 06:25:13 +00:00
  • 8a7de08a8b Fix overzealous fts2 assertions WRT rowid 0 or lower. Only check that docids are ascending if there was a prior docid set for the doclist, ignore the initial docid of 0. (CVS 4026) shess 2007-05-21 21:59:18 +00:00
  • a408adc5cb Add the larger SQLite icon to the repository. (CVS 4025) drh 2007-05-19 11:50:36 +00:00
  • f85f935431 Add a few extra words to the sqlite3_finalize() documentation. (CVS 4024) danielk1977 2007-05-19 06:48:42 +00:00
  • b39f70b04a Change the way overflow pages are allocated from the free-list to increase the chance that they are a contiguous block. Much more can still be done. (CVS 4023) danielk1977 2007-05-17 18:28:11 +00:00
  • 6338c762a5 Bring the autoconf based build system up to date with the recent changes. #2366, #2367 and #2368. (CVS 4022) danielk1977 2007-05-17 16:38:30 +00:00
  • 5b159dc312 Fix a problem with casting blobs to numeric types. (CVS 4021) danielk1977 2007-05-17 16:34:43 +00:00
  • 63c64f3b8c Add speed3.test file. For testing performance issues related to overflow pages. (CVS 4020) danielk1977 2007-05-17 14:45:12 +00:00
  • f12737da7e Modify test scripts to allow for the fact that zeroblob() is not available when compiled with OMIT_INCRBLOB. Ticket #2365. (CVS 4019) danielk1977 2007-05-17 06:44:28 +00:00
  • 92182323e0 Remove the SKIP_UTF16 macros (they are no longer in use). (CVS 4018) danielk1977 2007-05-16 18:23:05 +00:00
  • a9c16b0a38 Fix handling of utf-16 encoding of code point 0xE000. (CVS 4017) danielk1977 2007-05-16 18:11:41 +00:00
  • 2be2be92c4 Avoid passing a negative value to isspace() in a couple places. (CVS 4016) danielk1977 2007-05-16 17:50:45 +00:00
  • 1cc5ed8150 Change a few selected functions to macros to speed things up. (CVS 4015) danielk1977 2007-05-16 17:28:43 +00:00
  • 246ad31db6 Omit some extra code when OMIT_INCRBLOB is defined. (CVS 4014) danielk1977 2007-05-16 14:23:00 +00:00
  • b36d20d4ae Add a --nostatic option to mksqlite3c.tcl. With this option turned on, the extra "static" storage class markers are not inserted into the amalgamation. (CVS 4013) drh 2007-05-16 13:55:26 +00:00
  • cd7b46db84 Keep the full precision of integers if possible when casting to "numeric". Ticket #2364. (CVS 4012) drh 2007-05-16 11:55:56 +00:00
  • 056c8f782e Additional tests for malformed UTF-8. (CVS 4011) drh 2007-05-15 18:35:21 +00:00
  • 7e326c09c2 Make sure pParse->rc gets set whenever sqlite3ErrorMsg() is called. This is added insurance that parsing will stop quickly after an error. This change did make the parser stop faster in some cases, which required some revisions to tests. (CVS 4010) drh 2007-05-15 16:51:37 +00:00
  • f076504b1c Remove the alternative UTF-16 implementation of SUBSTR(). It does not work anymore and the UTF-8 version can do everything that the UTF-16 version does. (CVS 4009) drh 2007-05-15 14:40:11 +00:00
  • 9a087a99e5 Relax the restriction on using bytes 0x80 through 0xbf as the first character of an identifier. Enhancements to ALTER TABLE tests for tables with strange names or stange column names. (CVS 4008) drh 2007-05-15 14:34:32 +00:00
  • 76cb812d25 Change the documentation to clearly state that the result of sqlite3_column_type() is undefined following a type conversion. (CVS 4007) drh 2007-05-15 14:17:25 +00:00
  • 150dbacea4 Fix to check-in (4005). A call to sqlite3_column_blob() should not make subsequent calls to sqlite3_column_type() return SQLITE_BLOB. Sqlite3_column_type() returns the initial type. (CVS 4006) drh 2007-05-15 14:10:40 +00:00
  • 1f0feef80b Clarification on the best practices for using the _bytes() APIs. Change sqlite3_value_blob() to force the representation to be purely a BLOB and not a dual BLOB/String. Ticket #2360. (CVS 4005) drh 2007-05-15 13:27:07 +00:00
  • 4a919118d3 A new approach for UTF-8 translation. (CVS 4004) drh 2007-05-15 11:55:09 +00:00
  • eab7f3fe8d Do not allow bytes 0x80 through 0xBF to be the first character of an identifer because no valid UTF-8 character can begin with those bytes. If we allowed an identifier to begin with one of those bytes, then the substr() function in ALTER TABLE will not work correctly. (CVS 4003) drh 2007-05-15 09:00:14 +00:00
  • 1ee506d792 Fix some test script errors in fuzz.test. (CVS 4002) danielk1977 2007-05-15 07:14:32 +00:00
  • 15d7982ad8 A fix for queries that used correlated, compound sub-queries in the HAVING clause. Also update fuzz.test some more. (CVS 4001) danielk1977 2007-05-15 07:00:34 +00:00
  • 4e5dd85135 Fix problems in ALTER TABLE that occur when column or table names are invalid UTF encodings. (CVS 4000) drh 2007-05-15 03:56:49 +00:00
  • e279195400 Fix a typo in a comment. Ticket #2359. (CVS 3999) drh 2007-05-15 02:45:18 +00:00
  • eaad32b1df Fix a bug in sqlite3_mprintf() which could have caused a buffer overrun if malloc() failed. (CVS 3998) drh 2007-05-15 02:34:09 +00:00
  • f764e6fc3d The built-in substr() function applied to a BLOB counts bytes, not characters. (CVS 3997) drh 2007-05-15 01:13:47 +00:00
  • 2a9abf61c7 Make sure the parser aborts quickly following a syntax error. (CVS 3996) drh 2007-05-15 00:09:13 +00:00
  • a670b22641 Fix a problem with ORDER BY and compound SELECT queries. (CVS 3995) danielk1977 2007-05-14 16:50:48 +00:00
  • fa2bb6da24 Fix a bug in "flattening" optimization. Occured if the parent of the flattened sub-query is also the parent of a sub-query that uses a compound op (i.e. UNION, INTERSECT etc.). (CVS 3994) danielk1977 2007-05-14 15:49:43 +00:00
  • 1e4eaeb515 Prevent sub-queries with "LIMIT 0" from leaving an extra value on the vdbe stack. Also updates to fuzz.test. (CVS 3993) danielk1977 2007-05-14 14:04:59 +00:00
  • 8fea1285f0 In the windows driver, reacquire the shared lock if an exclusive lock fails. Ticket #2354. (CVS 3992) drh 2007-05-14 12:12:11 +00:00