0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-16 18:29:20 +00:00

Commit Graph

  • 2aa6ca45c1 In lemon, allows open() using the "b" option to avoid \r problems on windows. Ticket #897. (CVS 1956) drh 2004-09-10 00:14:04 +00:00
  • 9db55dfb98 Fix lemon so that inserted code always ends in a newline. Ticket #895. (CVS 1955) drh 2004-09-09 14:01:21 +00:00
  • 5689123ca6 Fix a segfault in the authorizer when it is given a SELECT statement with no FROM clause. Ticket #896. (CVS 1954) drh 2004-09-09 13:55:50 +00:00
  • 5cfe9a78f9 Fix a segfault in the authorizer when it is given a SELECT statement with no FROM clause. Ticket #896. (CVS 1953) drh 2004-09-09 13:54:29 +00:00
  • 6aff507e73 Trying to get some tests in printf.test to pass on 64-bit systems. (CVS 1952) drh 2004-09-09 00:35:29 +00:00
  • ed6b3eb076 Update the makefile so that util.c gets the -DSQLITE_DEBUG=1 flag when building the test fixture. (CVS 1951) drh 2004-09-08 21:12:50 +00:00
  • 217a416cec More changes directed at getting things to work on 64-bit platforms. (CVS 1950) drh 2004-09-08 20:13:04 +00:00
  • fe63d1c98b More changes directed at getting things to work on 64-bit platforms. (CVS 1949) drh 2004-09-08 20:13:04 +00:00
  • 03c8988076 Always cast 0 to (char*)0 when it is an argument in a varargs function. (CVS 1948) drh 2004-09-08 15:09:40 +00:00
  • 95380fae3c Add new APIs to sqlite3.def: sqlite3_bind_parameter_name and sqlite3_bind_parameter_index. (CVS 1947) drh 2004-09-08 13:07:44 +00:00
  • 916d68efea Documentation updates. (CVS 1946) drh 2004-09-08 13:06:21 +00:00
  • fa6bc0000f Wildcards with the same name map into the same variable number. New api sqlite3_bind_parameter_index() added to map wildcard names into wildcard index numbers. Support for "?nnn" wildcards. (CVS 1945) drh 2004-09-07 16:19:52 +00:00
  • 1807ce37b8 Fix the onecolumn method in the TCL interface so that it works the same as the eval method in all ways except for returning just the first value in the result set. (CVS 1944) drh 2004-09-07 13:20:35 +00:00
  • af805ca035 Lemon escapes backslashes in filenames in #line directives it generates. Ticket #892. (CVS 1943) drh 2004-09-07 11:28:25 +00:00
  • 12057d54ef Fix more name collisions. Allow sqlite.h and sqlite3.h to both be included in the same C/C++ source file. (CVS 1942) drh 2004-09-06 17:34:12 +00:00
  • 9bb575fd72 Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3 connection now *must* be called "sqlite3". You cannot call it "sqlite". This might break existing code. (CVS 1941) drh 2004-09-06 17:24:11 +00:00
  • 873cdcb2ce Comment changes and minor code cleanup. (CVS 1940) drh 2004-09-05 23:23:41 +00:00
  • f2a611c988 Make VACUUM work when the page size is different than the default 1024. Ticket #890. (CVS 1939) drh 2004-09-05 00:33:43 +00:00
  • ad3e010547 Fix a comment. (CVS 1938) drh 2004-09-03 23:32:18 +00:00
  • 2e38c32b67 Modify btree.c so that is allocates big data structures using malloc() instead of allocating from the stack. Stack allocations cause problems for embedded systems and pthreads implementations that only allocate a limited amount of stack space. (CVS 1937) drh 2004-09-03 18:38:44 +00:00
  • 2c7e56798b More tests of sqlite3_step() and SQLITE_BUSY added. (CVS 1936) drh 2004-09-03 00:27:56 +00:00
  • 6ad3326fd5 Fix a typo in the "News" on the homepage. (CVS 1935) drh 2004-09-02 16:53:12 +00:00
  • bc58e70e90 Version 3.0.6 (beta) (CVS 1934) drh 2004-09-02 16:45:58 +00:00
  • d1b03577ec Update version number and documentation for version 3.0.6. (CVS 1933) drh 2004-09-02 16:36:03 +00:00
  • c44af71c08 Address some minor 32/64 bit issues. (CVS 1932) drh 2004-09-02 15:53:56 +00:00
  • 32fc1a5c51 Fix a bug in the pagesize test script. (CVS 1931) drh 2004-09-02 15:49:07 +00:00
  • 51a6ec4892 Fix VACUUM so that it works on files whose name contains '. Ticket #873 (CVS 1930) drh 2004-09-02 15:27:41 +00:00
  • 5bb7ffe1ea Fix a problem with EXPLAIN on pragmas that return single integer values. Ticket #886 (CVS 1929) drh 2004-09-02 15:14:00 +00:00
  • 92f02c31d4 Transactions commit on the last sqlite3_step(), not on sqlite3_finalize(). This allows the sqlite3_step() to return SQLITE_BUSY if the commit is blocked by a lock. Ticket #885. (CVS 1928) drh 2004-09-02 14:57:08 +00:00
  • 66cbd1543b Work around a bug in the Borland C++ compiler. Ticket #881. (CVS 1927) drh 2004-09-01 16:12:25 +00:00
  • 91bb0eedd1 Optimizations on the SELECT code generator. (CVS 1926) drh 2004-09-01 03:06:34 +00:00
  • c8d7441eb4 Changes to support compiling under windows. (CVS 1925) drh 2004-08-31 23:41:26 +00:00
  • 855eb1cf02 Simplifications and optimizations. Also: disable the corrupt.test for now. (CVS 1924) drh 2004-08-31 13:45:11 +00:00
  • 4e5ffc5f8d Combine the implementation of LIKE and GLOB into a single parameterized function. (CVS 1923) drh 2004-08-31 00:52:37 +00:00
  • ee696e2218 Better detection and handling of corrupt database files. (CVS 1922) drh 2004-08-30 16:52:17 +00:00
  • 57ee3cc2ce Documentation updates (CVS 1921) drh 2004-08-30 14:58:11 +00:00
  • 7f4680c92e Remove the \001 character that lemon inserts automatically in its output file. The need for this character has expired and it creates confusion for users. Ticket #877 (CVS 1920) drh 2004-08-30 14:22:31 +00:00
  • dd3d4598bf Modify the sqlite shell program so that the ".dump" command does not give up if it encounters an SQLITE_CORRUPT error. It tries to keep going in order to extract as much information as it can from the corrupt database. (CVS 1919) drh 2004-08-30 01:54:05 +00:00
  • effd02bcbe Change the name of the global variable to sqlite3_temp_directory to avoid a naming conflict with version 2.8. (CVS 1918) drh 2004-08-29 23:42:13 +00:00
  • 208f80a7d4 Fix a bug in the NOCASE collating function. (CVS 1917) drh 2004-08-29 20:08:58 +00:00
  • 7cdc3e6578 Version 3.0.5 (beta) (CVS 1916) drh 2004-08-29 18:14:39 +00:00
  • d271df0569 Adjustments to the download.html page generator script. (CVS 1915) drh 2004-08-29 18:14:18 +00:00
  • 37e012846c Increase the version number and update the change log in preparation for the release of version 3.0.5. (CVS 1914) drh 2004-08-29 17:52:40 +00:00
  • f298718005 Back out an optimization that was causing problems in UTF-16 databases. (CVS 1913) drh 2004-08-29 17:30:49 +00:00
  • 8cdbf83690 Corrections to transient table handling in compound select statments. Tickets #826 and #875. (CVS 1912) drh 2004-08-29 16:25:03 +00:00
  • fbc4ee7b70 Progress toward fixing iproblems with compound selects. (CVS 1911) drh 2004-08-29 01:31:05 +00:00
  • 6f3a3efe03 Add prototype in sqlite3.h for the sqlite3_libversion() function. (CVS 1910) drh 2004-08-28 18:21:21 +00:00
  • febe1060f9 Memory handling fixes and optimizations in the VDBE. Ticket #862. (CVS 1909) drh 2004-08-28 18:17:48 +00:00
  • 4aec8b65c7 Add the sqlite3_libversion() API (ticket #834). Fix the build scripts to correctly build the shared libraries with version 8.4 of Tcl. (CVS 1908) drh 2004-08-28 16:19:00 +00:00
  • 19aca9eddb Correct handling of quoted names in CREATE INDEX. Ticket #869. (CVS 1907) drh 2004-08-28 14:53:34 +00:00
  • 1bcdb0c0b2 Add new defenses against misuse of the C API. Ticket #870. (CVS 1906) drh 2004-08-28 14:49:46 +00:00
  • 3d2efea4fa Add sqlite_temp_directory to the windows driver. (CVS 1905) drh 2004-08-28 01:12:56 +00:00
  • db06183c22 Update the TCL binding documentation to describe the newly added ability to specify TCL variable names in the body of an SQL statement. (CVS 1904) drh 2004-08-26 01:12:13 +00:00
  • 1d895039e2 Protect Tcl_Obj pointers from change using Tcl_IncrRefCount() while executing SQL statements in the TCL bindings. (CVS 1903) drh 2004-08-26 00:56:05 +00:00
  • 2c6674cf7e Host parameter names conform to SQL-2003. (CVS 1902) drh 2004-08-25 04:07:01 +00:00
  • 9d74b4c516 Fix a bug in the parsing of wildcards that begin with '$'. (CVS 1901) drh 2004-08-24 15:23:34 +00:00
  • fdb38064b0 Fix a pager bug that might have made multi-database commits non-atomic if a power failure occurred at just the wrong moment. (CVS 1900) drh 2004-08-21 19:20:42 +00:00
  • 290c19482e Optimizations to the code generator. (CVS 1899) drh 2004-08-21 17:54:45 +00:00
  • 92febd92ad Tcl interface transfers values directly between SQLite and Tcl_Objs, without at translation to strings. (CVS 1898) drh 2004-08-20 18:34:20 +00:00
  • 895d747226 Add support for named wildcards in SQL statements. (CVS 1897) drh 2004-08-20 16:02:39 +00:00
  • e8cf2cacb1 Optimizations in the hash table module. (CVS 1896) drh 2004-08-20 14:08:50 +00:00
  • 7ac25c7510 Enhance lemon so that a @X instead of just X in the code expands to the major token value rather than the minor token value. Use this to make the parser a few hundred bytes smaller. (CVS 1895) drh 2004-08-19 15:12:26 +00:00
  • 2889ae7248 Add the SQLITE_BUSY_RESERVED_LOCK compile-time option. (CVS 1894) drh 2004-08-19 13:29:15 +00:00
  • cb4c40ba0e Make sure the database file is correctly truncated after a ROLLBACK that occurs after a statement abort. (CVS 1893) drh 2004-08-18 19:09:43 +00:00
  • 2b74d70a38 Better debug logging of the pager. (CVS 1892) drh 2004-08-18 16:05:18 +00:00
  • 34f4732b06 Be more agressive about not creating or opening the TEMP database if there are no TEMP tables. (CVS 1891) drh 2004-08-18 15:58:22 +00:00
  • dc3ff9c34c Avoid creating a TEMP database unless it is absolutely necessary. (CVS 1890) drh 2004-08-18 02:10:15 +00:00
  • 181fc99332 Fix a typo in a comment. (CVS 1889) drh 2004-08-17 10:42:54 +00:00
  • ae15787643 If meta(3)>0 then make the database readonly for now. This allows the current database to interact with future releases that might include autovacuum. (CVS 1888) drh 2004-08-14 19:20:09 +00:00
  • 22ac46d15d Fix a bug that was preventing "PRAGMA temp_store=MEMORY" from working. (CVS 1887) drh 2004-08-14 18:34:54 +00:00
  • 472cbf6b9e The command-line shell should avoid writing changes into string constants. (CVS 1886) drh 2004-08-14 18:18:44 +00:00
  • ab3f9fea05 Add the ability to specify a alternative temporary file directory using the "sqlite_temp_directory" global variable. (CVS 1885) drh 2004-08-14 17:10:10 +00:00
  • 458b8fc8bc Version 3.0.4 (beta) (CVS 1884) drh 2004-08-09 00:26:57 +00:00
  • b78825070e Prepare for the release of version 3.0.4. (CVS 1883) drh 2004-08-09 00:04:04 +00:00
  • 71c697ef4d Fix problems in the handling of malloc failures. (CVS 1882) drh 2004-08-08 23:39:19 +00:00
  • 4c755c0f53 Make sure the argument to ctype.h macros is always an unsigned character. Ticket #839. (CVS 1881) drh 2004-08-08 20:22:17 +00:00
  • 8dcd7cab83 Attempting to open a locked table for writing should fail immediately. Ticket #842. (CVS 1880) drh 2004-08-08 19:43:29 +00:00
  • 1d64fc1a5e Do not invoke the busy callback when trying to promote a lock from SHARED to RESERVED. This avoids a deadlock. (CVS 1879) drh 2004-08-07 23:54:48 +00:00
  • 00afe0b374 Fix a bug in the logic that converts numbers into strings inside the VM. Ticket #844 (CVS 1878) drh 2004-08-06 17:00:40 +00:00
  • b860bc97d5 In the command-line shell: importments to the "help" message and better error checking in the new .import command. (CVS 1877) drh 2004-08-04 15:16:55 +00:00
  • a9600bc692 Separate P4 timing asm code out of the SQLITE_DEBUG macro so that SQLITE_DEBUG can be used on non-x86 machines and with compilers other than GCC. Ticket #838. (CVS 1876) drh 2004-08-04 14:44:33 +00:00
  • d2f0a72331 Separate the ifdefs for INTPTR_TYPE and UINTPTR_TYPE in sqliteInt.h. (CVS 1875) drh 2004-08-04 14:29:22 +00:00
  • db2d9a0bbb Fix a memory leak when the auxiliary data of a database structure is used. (CVS 1874) drh 2004-08-01 03:52:17 +00:00
  • feac5f8dbc Add the ".import" command to the command-line shell. (CVS 1873) drh 2004-08-01 00:10:45 +00:00
  • 9796ef5804 Additional test case to cover ticket #831. (CVS 1872) drh 2004-07-27 13:38:47 +00:00
  • adfa3daf49 Honor the ORDER BY clause in a subquery that is the right-hand side of an IN operator. Ticket #827. (CVS 1871) drh 2004-07-26 23:32:26 +00:00
  • cced337e35 Get VACUUM working with UNIQUE indices. Ticket #829. (CVS 1870) drh 2004-07-26 23:07:51 +00:00
  • d89fd07dc3 add sqlite3_get_auxdata sqlite3_set_auxdata C API exports (CVS 1869) dougcurrie 2004-07-26 15:31:21 +00:00
  • 1211de3709 Fix problems for 64-bit machines and when SQLITE_OMIT_AUTHORIZATION is defined. (CVS 1868) drh 2004-07-26 12:24:22 +00:00
  • be5c89acd0 Various size optimizations. (CVS 1867) drh 2004-07-26 00:31:09 +00:00
  • 956bc92cde Prepared statements now work with CREATE and DROP. All tests pass. No memory leaks. (CVS 1866) drh 2004-07-24 17:38:29 +00:00
  • 3f7d4e49d8 Fix more problems with deferred execution of CREATE. Still need to do DROP. There is now a memory leak. (CVS 1865) drh 2004-07-24 14:35:58 +00:00
  • 234c39dff7 Progress towards getting prepared statements and CREATE and DROP to play nicely together. Work is incomplete. Some tests are known to fail. (CVS 1864) drh 2004-07-24 03:30:47 +00:00
  • 85a5dfef26 More fixes to the publish.sh script. (CVS 1863) drh 2004-07-23 01:10:57 +00:00
  • 3e27c02625 First cut at a analysis tool for version 3.0 databases. (CVS 1862) drh 2004-07-23 00:01:38 +00:00
  • 8ea1a04ff8 Home page updates. (CVS 1861) drh 2004-07-22 19:06:31 +00:00
  • ad19857f5a Version 3.0.3 (CVS 1860) drh 2004-07-22 18:54:04 +00:00
  • 82ab315f73 Version 2.8.15 (CVS 1859) drh 2004-07-22 18:53:52 +00:00
  • 20753fb2d0 Updates to the publish.sh script and the download.html webpage. (CVS 1858) drh 2004-07-22 18:53:17 +00:00
  • 8685a946b8 Fixes to the publish.sh file for version 3.0. (CVS 1857) drh 2004-07-22 18:44:23 +00:00