0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-17 06:01:13 +00:00

Commit Graph

  • e4df0e7497 Properly record the names of triggers even if the name is quoted. Ticket #1737. (CVS 3158) drh 2006-03-29 00:24:06 +00:00
  • 27436af790 Compile-time option to use only 32-bit integers. (CVS 3157) drh 2006-03-28 23:57:17 +00:00
  • 4dd238a51d Join optimizer enhancements. (CVS 3156) drh 2006-03-28 23:55:57 +00:00
  • 7aa8f8588b Extra asserts to prove that certain reported errors in btree.c are not really errors. (CVS 3155) drh 2006-03-28 00:24:44 +00:00
  • d8f50c4957 Work around a bug in GCC 4.0.2. (CVS 3154) drh 2006-03-26 20:49:17 +00:00
  • 923782530b SQLite now always chooses the column names for compound selects using the left-most select. This makes SQLite work like other SQL database, but it also is a change from historical behavior and may break some scripts. Ticket #1721. (CVS 3153) drh 2006-03-26 01:21:22 +00:00
  • 229caa369a Add code to report an error on a recursive trigger, but leave it commented out - turning it on will likely break a lot of code. (CVS 3152) drh 2006-03-25 15:52:19 +00:00
  • dad23147ca Add a note to the API documentation emphasizing that the filename argument to sqlite3_open() must be UTF-8. Tickets #1713, #1533. (CVS 3151) drh 2006-03-25 14:03:42 +00:00
  • 6205d4a47b Make sure the rootpage values in the symbol table are correctly updated when dropping tables and indices in autocommit mode. Ticket #1728. (CVS 3150) drh 2006-03-24 03:36:26 +00:00
  • d698bc15ef Improvements to comments in build.c. (CVS 3149) drh 2006-03-23 23:33:26 +00:00
  • 5229ae4df5 Get autovacuum and in-memory databases working together. Ticket #1727. (CVS 3148) drh 2006-03-23 23:29:04 +00:00
  • b912b2889c Use the pread()/pwrite() interface on Posix if compiled with -DUSE_PREAD=1. Note that on Linux this is slower and does not work for large files. (CVS 3147) drh 2006-03-23 22:42:20 +00:00
  • 4eeb1ffa97 Improvements to comments. No changes to code. (CVS 3146) drh 2006-03-23 14:03:00 +00:00
  • a154dcd706 Get the build to run with -DSQLITE_OMIT_SHARED_CACHE. (CVS 3145) drh 2006-03-22 22:10:07 +00:00
  • 05a8298338 Increase test coverage to above 98%. (CVS 3144) drh 2006-03-19 13:00:25 +00:00
  • f8875400e4 Miscellaneous code cleanup. (CVS 3143) drh 2006-03-17 13:56:34 +00:00
  • b73857ff4d Code and comment cleanup for the sorting optimization of the previous check-in. (CVS 3142) drh 2006-03-17 00:25:59 +00:00
  • cdd536f0fd Much faster sorting when there are a large number of columns in the result set. (CVS 3141) drh 2006-03-17 00:04:03 +00:00
  • 3752785f93 Fix some compiler warnings. (CVS 3140) drh 2006-03-16 16:19:56 +00:00
  • 3bc0e05c61 Make provisions in the code to support Provisions to support caching of serialized statements in the SSE extension. (CVS 3139) drh 2006-03-16 14:05:14 +00:00
  • fd2d26bb7d Performance improvement in sqlite3VdbeAddOp(). (CVS 3138) drh 2006-03-15 22:44:36 +00:00
  • aa01c7e2cd Fix CHECK constraints to use alternative conflict resolution. Ticket #1717. (CVS 3137) drh 2006-03-15 16:26:10 +00:00
  • afed086386 Set and clear the full_column_name flag using direct invocation rather than the execsql tcl command so that the select1 test works with the serialized statement extension. (CVS 3136) drh 2006-03-14 13:10:42 +00:00
  • fe9a9145d1 Move the PENDING_PAGE to a very large value if disk I/O is omitted. (CVS 3135) drh 2006-03-14 12:59:10 +00:00
  • 91171cde62 Make sure sqlite3FindCollSeq() returns NULL after a malloc() failure. (CVS 3134) drh 2006-03-14 11:08:27 +00:00
  • 03b808a694 Get parserless builds working again. (CVS 3133) drh 2006-03-13 15:06:05 +00:00
  • aa701b2827 Fix documentation to show the correct return type from sqlite3_db_handle(). Ticket #1716. (CVS 3132) drh 2006-03-13 14:31:39 +00:00
  • cfed7bce7e Changes to get the Serialized Statement Extension working again. (CVS 3131) drh 2006-03-13 14:28:05 +00:00
  • 8aa34ae0b1 Additional changes due to Coverity scans. (CVS 3130) drh 2006-03-13 12:54:09 +00:00
  • ff3b170023 Add an assert() to demonstrate that Klockworks is wrong about an aleged bug. (CVS 3129) drh 2006-03-11 12:04:18 +00:00
  • 643054c18b Correct names returned from a query against a view. Ticket #1709, #1688, #1711. (CVS 3128) drh 2006-03-09 17:28:12 +00:00
  • 86b7f57555 Remove all reference to EXTERN from tclsqlite.c. Ticket #1687. (CVS 3127) drh 2006-03-06 23:30:51 +00:00
  • 43617e9ab9 Code changes resulting from Coverity analysis. http://scan.coverity.com/ Found 1 potential segfault in sqlite3_mprintf(). Also 2 failures to fclose() following a malloc() failure. And lots of cases where unnecessary conditionals could be removed from the code. (CVS 3126) drh 2006-03-06 20:55:46 +00:00
  • c001c58a72 Pager performance enhancements. (CVS 3125) drh 2006-03-06 18:23:16 +00:00
  • f1d83a7134 Fix typo in documentation. Ticket #1578. (CVS 3124) drh 2006-03-03 21:39:54 +00:00
  • b806798865 EXPLAIN sets the length of its text return values correctly. Ticket #1583. (CVS 3123) drh 2006-03-03 21:38:03 +00:00
  • bfa8b1020b The table_info pragma shows column affinity as "" if there is no column affinity. Ticket #1570. (CVS 3122) drh 2006-03-03 21:20:16 +00:00
  • 91c839b86e Make sure the default busy handler uses usleep() when available. Ticket #1684. (CVS 3121) drh 2006-03-03 20:54:41 +00:00
  • eae3a0d8c4 The --enable-debug option on configure enables verbose explain and vdbe_trace. Ticket #1680. (CVS 3120) drh 2006-03-03 20:37:52 +00:00
  • 27ed1d90f6 Fix tclsqlite.c to better support Mingw. Ticket #1687. (CVS 3119) drh 2006-03-03 20:32:18 +00:00
  • 57bacb2282 Ignore leading spaces on text to numeric conversions. Ticket #1662. Fixes to test cases broken by the recent changes to round(). (CVS 3118) drh 2006-03-03 19:12:29 +00:00
  • 41714d6f83 Allow WHERE clause terms on the left table of a LEFT OUTER JOIN to contain aggregate subqueries. Ticket #1697. (CVS 3117) drh 2006-03-02 04:44:23 +00:00
  • d589a92a26 Change the ROUND() function to return a REAL value instead of TEXT. Ticket #1699. (CVS 3116) drh 2006-03-02 03:02:48 +00:00
  • e3dd8bb5be Reduce the size of a memory allocation in the windows driver to the minimum needed. Ticket #1690. (CVS 3115) drh 2006-02-27 23:44:35 +00:00
  • 3e450ec254 Add a test to make sure parser stack overflow is detected and reported. (CVS 3114) drh 2006-02-27 23:19:20 +00:00
  • 187e4c6ac9 The parser now permits very large triggers - triggers with 10000 or more statements. (CVS 3113) drh 2006-02-27 22:22:27 +00:00
  • 8fc3345f29 Detect stack overflow in the parser and report an error. (CVS 3112) drh 2006-02-27 21:58:07 +00:00
  • 580eeaf348 Additional compiler warnings suppressed. (CVS 3111) drh 2006-02-24 03:09:37 +00:00
  • 74161705f1 Remove unused parameters on internal APIs. Suppress warnings from CodeWarrior. (CVS 3110) drh 2006-02-24 02:53:49 +00:00
  • 874abbed68 Make sure the random() function always returns a value that can be passed to abs(). (CVS 3109) drh 2006-02-23 21:51:12 +00:00
  • 52fc849a3c Detect integer overflow in the abs() function. The random() function now provides 64 bits of randomness instead of just 32. Fix bugs in testing logic of test4.c. (CVS 3108) drh 2006-02-23 21:43:55 +00:00
  • fcce93f62c New compile-time option SQLITE_SECURE_DELETE takes care to overwrite deleted data with zeros. (CVS 3107) drh 2006-02-22 03:08:32 +00:00
  • e134ff1ea8 Always generate code, even if it is a no-op, for CREATE and DROP statements that use the IF EXISTS or IF NOT EXISTS clause. (CVS 3106) drh 2006-02-18 16:36:45 +00:00
  • 8ae59d5233 Fix bug preventing compliation without MEMDEBUG when ENABLE_MEMORY_MANAGE is defined. (CVS 3105) danielk1977 2006-02-17 15:01:36 +00:00
  • ddfb2f036a Ensure temp db is open before executing a pragma like "temp.cachesize = xxx". Fix for #1682. (CVS 3104) danielk1977 2006-02-17 12:25:14 +00:00
  • 7d9bd4e19e Or the SQLITE_UTF16_ALIGNED with the encoding field in sqlite3_create_collation and UTF16 strings will always be aligned on an even byte boundary when passed into the comparison function. (CVS 3103) drh 2006-02-16 18:16:36 +00:00
  • 7e310a420b Fix more typos in the file format document. (CVS 3102) drh 2006-02-16 00:32:37 +00:00
  • 6f1fcdf80a Fix a typo in the file format document. (CVS 3101) drh 2006-02-16 00:31:01 +00:00
  • e8c1513254 Get the build working again. Fix for check-in (3093) (CVS 3100) drh 2006-02-15 21:19:01 +00:00
  • 8ba2b34883 Mention the NOT unary operator in the documentation. (CVS 3099) drh 2006-02-15 17:30:31 +00:00
  • 94e4f82f4a Update the configure script to use AC_HELP_STRING. (CVS 3098) drh 2006-02-15 02:00:25 +00:00
  • 16825cbebb test_async.c: Writer-thread should not relinquish mutex when writing a file for which only one file handle is open (fixes bug introduced in (3093)). (CVS 3097) danielk1977 2006-02-14 14:46:41 +00:00
  • 2d9fcaa61c Account for a malloc failure in the asynchronous writer thread in test_async.c (CVS 3096) danielk1977 2006-02-14 14:02:08 +00:00
  • bf623f25cd Fix bug in test_async.c version of OsFileSize(). (CVS 3095) danielk1977 2006-02-14 13:48:33 +00:00
  • be29bfc0b5 Add simple io error tests for test_async.c. (CVS 3094) danielk1977 2006-02-14 13:25:43 +00:00
  • 750b03e543 Changes so that test_async.c works with memory management turned on. (CVS 3093) danielk1977 2006-02-14 10:48:39 +00:00
  • 4eb9a9792a Disable the /./ and /../ collapser logic in sqlite3OsFullPathname under Unix. (CVS 3092) drh 2006-02-13 18:42:21 +00:00
  • 97bbdc0aa2 Fix a bug in the handling of sqlite3OsTruncate by the test_async.c demo. Added trans.test to the suite of tests for asychronous I/O. (CVS 3091) drh 2006-02-13 18:35:06 +00:00
  • 89ea93121d Add in-process file locking to test_async.c. The unix implementation of sqlite3OsFullPathname() now attempts to remove /./ and /../ elements from the path. (CVS 3090) drh 2006-02-13 17:03:47 +00:00
  • 99681dbbdb Fix a deadlock problem on the sqlite3async_wait test interface. Improvements to tracing in test_async.c. (CVS 3089) drh 2006-02-13 15:29:32 +00:00
  • fc8748a772 Improvements to the TRACE macro in test_async.c. (CVS 3088) drh 2006-02-13 14:49:38 +00:00
  • 4b74b26052 I/O errors shut down all processing on the same file in test_async.c. (CVS 3087) drh 2006-02-13 13:50:55 +00:00
  • 4452838a65 Fix overlapping read logic in the test_async.c demonstration. (CVS 3086) drh 2006-02-13 13:30:19 +00:00
  • 5c32354cb7 Fix a memory leak in test_async.c. (CVS 3085) drh 2006-02-13 13:23:57 +00:00
  • 8c08e86187 I give up. SUM() now throws an error on integer overflow. Those of us who think this is goofy can use TOTAL() instead. Tickets #1664, #1669, #1670, #1674. (CVS 3084) drh 2006-02-11 17:34:00 +00:00
  • b151ac0015 Version 3.3.4 (CVS 3083) drh 2006-02-11 02:12:00 +00:00
  • e9565a6d94 Fix typo in os_unix.c. (CVS 3082) drh 2006-02-11 02:03:52 +00:00
  • 71a355e379 Prepare for the release of 3.3.4. (CVS 3081) drh 2006-02-11 01:56:54 +00:00
  • ac530b1ab4 Add support and documentation for the fullfsync pragma. Also include some other unrelated documentation updates. (CVS 3080) drh 2006-02-11 01:25:50 +00:00
  • 78aecb7250 Make sure pointers are always aligned to 8-bytes when creating internal Index structures. (CVS 3079) drh 2006-02-10 18:08:09 +00:00
  • 0ac0719087 Clean up pointer misuse in vdbe.c. (CVS 3078) drh 2006-02-10 14:02:07 +00:00
  • 12f5e2018d Minor test file modifications for builds compiled with OMIT options. (CVS 3077) danielk1977 2006-02-10 13:33:30 +00:00
  • ad2dccde5f Add documentation for new APIs. (CVS 3076) danielk1977 2006-02-10 13:14:20 +00:00
  • 6a3d670205 More comments on the unix locking code. Ticket #1672. (CVS 3075) drh 2006-02-10 13:11:32 +00:00
  • ff293cad83 Add trivial tests to increase coverage of sqlite3_table_column_metadata(). (CVS 3074) danielk1977 2006-02-10 12:48:55 +00:00
  • 266664ddef Work around the case where the pending-byte page is also a a pointer-map page. Ticket #1667. (CVS 3073) danielk1977 2006-02-10 08:24:21 +00:00
  • 1787ccabed Fix the origin APIs so that they correctly handle views and subqueries that cannot be flattened. (CVS 3072) danielk1977 2006-02-10 07:07:14 +00:00
  • 5c11123df8 Fix deadlock problem in the unix mutex. Ticket #1672. (CVS 3071) drh 2006-02-10 04:33:12 +00:00
  • 4b1ae99d01 Add a symbol P3_TRANSIENT to pass to VdbeSetColName() to make it copy the string parameter up to the first 0 byte. (CVS 3070) danielk1977 2006-02-10 03:06:10 +00:00
  • 955de52c9c Add the column_origin_name() etc. APIs. (CVS 3069) danielk1977 2006-02-10 02:27:42 +00:00
  • 86631a5ad1 Ignore errors when when calling fsync() on a directory. Ticket #1657. (CVS 3068) drh 2006-02-09 23:05:51 +00:00
  • 0b2a5eeae9 Allow '@' to introduce host parameter names for compatibility with MS SQL Server. Ticket #1671. (CVS 3067) drh 2006-02-09 22:24:41 +00:00
  • 29d7210819 SUM never gives an error. An integer result is returned for exact results and a floating point result is returned for approximate results. Tickets #1664, #1669, and #1670. (CVS 3066) drh 2006-02-09 22:13:41 +00:00
  • cf85a51c2a Deprecate the sqlite3_aggregate_count() API. Make sure all aggregate counters are 64 bits. Remove unused StdDev structure from func.c. Ticket #1669. (CVS 3065) drh 2006-02-09 18:35:29 +00:00
  • 76c730c18f Integer overflow in SUM causes an exception. Ticket #1669. (CVS 3064) drh 2006-02-09 17:47:42 +00:00
  • 9f6696ac9f Back out check-in (3058) - it breaks too much application code. (CVS 3063) drh 2006-02-09 16:52:23 +00:00
  • deb802cd83 Add the sqlite3_table_column_meta() API. (CVS 3062) danielk1977 2006-02-09 13:43:28 +00:00
  • fc6ad39cf8 Avoid overflowing the 48-bit mantissa of a floating point number when summing large integers in the SUM() function. Ticket #1664. (CVS 3061) drh 2006-02-09 13:38:19 +00:00
  • ff22e18b3c Correctly handle COLLATE clauses in tables being modified by an ALTER TABLE ADD COLUMN command. Ticket #1665. (CVS 3060) drh 2006-02-09 02:56:02 +00:00
  • 6a714ded6c Use 64-bit integers in sqlite3_analyzer. Ticket #1666. (CVS 3059) drh 2006-02-09 02:41:07 +00:00