Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History of src/util.c
2019-11-09
| ||
14:38 | Make sure the WITH stack in the Parse object is disabled following an error. file: [66b22af7] check-in: [de6e6d68] user: drh branch: trunk, size: 44328 | |
2019-10-10
| ||
23:58 | Fix harmless compiler warning seen with MSVC. file: [10d910e0] check-in: [73a82114] user: mistachkin branch: trunk, size: 44305 | |
2019-08-08
| ||
15:24 | Remove support for STAT3. The sqlite_stat3 tables are ignored, if they exist. STAT4 continues to work as it always has, and as it is a superset of STAT3 is the recommended replacement. file: [fffdfa62] check-in: [1e17ea2f] user: drh branch: omit-stat3, size: 44183 | |
2019-06-10
| ||
23:45 | A string consisting of a single '.' is not a floating point literal with extra text at the end. Fix for ticket [412bba9b22c677da] file: [aef606a7] check-in: [57050162] user: drh branch: trunk, size: 44201 | |
2019-06-07
| ||
22:26 | When casting string values into numeric and the string has a prefix that looks like a number but total string is not a well-formed number, then take extra care that the result is either integer or real depending on what the prefix looks like. Fix for tickets [e8bedb2a184001] and [4c2d7639f076aa]. file: [11e0e5e4] check-in: [67a68af5] user: drh branch: trunk, size: 44189 | |
2019-05-30
| ||
13:47 | Optimization to the round() SQL function for large input values without a fractional part. file: [bdbb67d3] check-in: [e95138f5] user: drh branch: trunk, size: 43873 | |
00:46 | Smaller and faster sqlite3IsNaN() implementation makes deserialization of floating point values much faster. file: [8d95c976] check-in: [ea748ede] user: drh branch: trunk, size: 43799 | |
2019-05-29
| ||
21:18 | Much faster implementation of applyNumericAffinity() by avoiding some unnecessary calls to sqlite3Atoi64(). file: [e278abeb] check-in: [c1d8a3f6] user: drh branch: trunk, size: 45275 | |
2019-05-25
| ||
18:17 | Performance enhancement in sqlite3AtoF(). About 8% faster. file: [2f072563] check-in: [81721aa5] user: drh branch: trunk, size: 45007 | |
17:41 | Use "long double" literals to initialize an array of "long double" objects. file: [94464ad0] check-in: [2e2ebad3] user: drh branch: trunk, size: 44954 | |
2019-05-10
| ||
12:14 | Fix the previous check-in [db9acef14d492121] so that the amalgamation build works for systems for which lack HAVE_ISNAN. file: [4c0669e0] check-in: [3cc55e09] user: drh branch: trunk, size: 44945 | |
2019-04-17
| ||
12:07 | Small performance improvement on the variable-length integer decoder: sqlite3GetVarint(). file: [50619874] check-in: [5df2bf62] user: drh branch: trunk, size: 44989 | |
11:34 | Faster and smaller implementation of sqlite3StrICmp(). file: [415fcd6e] check-in: [7ac500fb] user: drh branch: trunk, size: 45031 | |
2019-04-13
| ||
04:01 | Enforce the SQLITE_LIMIT_COLUMN limit on virtual tables. file: [e1293940] check-in: [0b6ae032] user: drh branch: trunk, size: 44954 | |
2019-04-09
| ||
21:32 | Improved reporting of SQLITE_TOOBIG errors while parsing. file: [92276bde] check-in: [ea2d4b65] user: drh branch: trunk, size: 44929 | |
2019-04-05
| ||
17:22 | Improved comment on the sqlite3FaultSim() function. No changes to code. file: [276d937c] check-in: [08b29672] user: drh branch: trunk, size: 44556 | |
2019-01-11
| ||
13:32 | The keywords TRUE and FALSE should only act as boolean literal values if unquoted. file: [82a2e3f6] check-in: [5547f39d] user: drh branch: trunk, size: 44019 | |
2018-01-27
| ||
14:25 | Changes to avoid a harmless UB warning from clang. file: [d9eb0a6c] check-in: [19f5c140] user: drh branch: trunk, size: 43837 | |
2018-01-26
| ||
18:37 | Improve text-to-integer conversion in boundary cases. The sqlite3Atoi64() function always returns the minimum or maximum integer if the magnitude of the text value is too large. Trailing whitespace is now ignored. file: [8628fe1d] check-in: [ace0644a] user: drh branch: trunk, size: 43464 | |
2018-01-17
| ||
21:14 | Alternative implementation for the internal sqlite3Pow10() utility for MSVC, which is more accurate on that platform. file: [ef4a5f90] check-in: [469b96be] user: drh branch: trunk, size: 43435 | |
2017-12-26
| ||
14:46 | Faster and smaller implementation of sqlite3AtoF() based on a suggestion from Cezary H. Noweta. file: [7315e97a] check-in: [fd2e0e7a] user: drh branch: trunk, size: 43093 | |
2017-11-06
| ||
09:34 | Fix a harmless compiler warning from Xcode 9.1. file: [d01fa6f4] check-in: [66d98310] user: drh branch: trunk, size: 42887 | |
2017-09-20
| ||
10:47 | Improved resolution of large integer values in "CAST(x AS NUMERIC)". file: [5168013c] check-in: [7f2bd4ff] user: drh branch: trunk, size: 42884 | |
2017-09-12
| ||
15:05 | Fix an error in [b22cdd67] that can cause a negative infinity to be (rarely) reported as a positive infinity. file: [ece10cb3] check-in: [9780b23c] user: drh branch: trunk, size: 42965 | |
13:27 | Changes to (hopefully) get the build working with recent Intel compilers. file: [c2e1f79f] check-in: [b22cdd67] user: drh branch: trunk, size: 42963 | |
2017-08-17
| ||
20:53 | Use the __builtin_clzll() function of gcc to improve the performance and reduce the size of the sqlite3LogEst() routine. file: [77384350] check-in: [a42a438c] user: drh branch: trunk, size: 42813 | |
2017-05-03
| ||
17:44 | Fix the sqlite3GetInt32() function so that it correctly returns 0 on a zero-length input string. file: [fc081ec6] check-in: [05eba9e3] user: drh branch: trunk, size: 42710 | |
2017-02-15
| ||
15:09 | Remove the CLANG_VERSION macro, since we have learned that version numbers in clang are "marketing" and are inconsistent and unreliable. Builds using clang will still use the GCC_VERSION macro since clang works hard to be gcc compatible. file: [ca8440ed] check-in: [810d2932] user: drh branch: trunk, size: 42667 | |
2017-02-09
| ||
17:12 | Cleanup the usage of the SQLITE_DISABLE_INTRINSIC compile-time option. Remove the SQLITE_RUNTIME_BYTEORDER compile-time option. Use -DSQLITE_BYTEORDER=0 instead. Fix a bug in R-Tree that occurs when compiling on a known little-endian machine without the use of intrinsic byteswapping functions. file: [3d2ce209] check-in: [798fb9d7] user: drh branch: trunk, size: 42801 | |
2017-01-03
| ||
20:01 | Use the CLANG_VERSION macro to control clang-specific features. file: [a88b0466] check-in: [f8ebeec2] user: drh branch: gnu-safe-math, size: 43149 | |
17:33 | Make use of the __buildin_OP_overflow() functions from GCC when doing 64-bit signed integer arithmetic. file: [8c3d2aa1] check-in: [82cbebb8] user: drh branch: gnu-safe-math, size: 43114 | |
2016-12-23
| ||
13:52 | Add check to prevent a VList from growing after pointers to labels have been taken. file: [1534060b] check-in: [aa23d7ea] user: drh branch: VList, size: 42667 | |
03:59 | Use the VList object to replace Parse.azVar for tracking the mapping between SQL parameter names and parameter numbers. There is a performance improvement, though there are still a few hiccups in the current code. file: [adf5ff9e] check-in: [68ecafa1] user: drh branch: VList, size: 41936 | |
2016-12-07
| ||
15:49 | Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. file: [e68e8ced] check-in: [f3608187] user: drh branch: trunk, size: 39331 | |
2016-09-20
| ||
22:04 | Improved implementation of 64-bit signed integer multiply that correctly detects overflow (and promotes to floating-point) in some corner cases. Fix for ticket [1ec41379c9c1e400] file: [3e2da610] check-in: [db3ebd7c] user: drh branch: trunk, size: 39338 | |
2016-04-28
| ||
14:15 | Use comments to mark several branches as optimizations. No changes to code. file: [810ec3f2] check-in: [33e62747] user: drh branch: trunk, size: 39660 | |
03:52 | Remove an unnecessary conditional from the sqlite3DecOrHexToI64() routine. file: [41cac9db] check-in: [fcf85bfe] user: drh branch: trunk, size: 39634 | |
00:32 | Change the sqlite3Atoi64() routine so that it returns failure if not all of the input characters are consumed, even if it consumed all characters up to the first 0x00. This has no impact on external APIs as far as I can tell. file: [1d2f9cc9] check-in: [46d4ffff] user: drh branch: trunk, size: 39662 | |
2016-04-27
| ||
15:24 | More simplification of the sqlite3AtoF() routine. Add special comments to indicate branches that are for optimization purposes only and that give the correct answer even if always or never taken. file: [d0899604] check-in: [0065fe97] user: drh branch: trunk, size: 39446 | |
02:35 | Remove still more unnecessary branches from sqlite3AtoF(). file: [562f7a85] check-in: [3adfe9f3] user: drh branch: trunk, size: 38643 | |
2016-04-26
| ||
23:14 | Further simplifications to sqlite3AtoF() to remove unneeded branches. file: [7ea35eef] check-in: [dd69e53c] user: drh branch: trunk, size: 38689 | |
21:02 | Remove an unnecessary line from the sqlite3AtoF() routine. file: [8ae5e894] check-in: [a9d00749] user: drh branch: trunk, size: 38761 | |
2016-04-11
| ||
19:01 | Performance optimization to sqlite3Dequote() and its callers. file: [187a0a2a] check-in: [9efe2265] user: drh branch: trunk, size: 38841 | |
2016-04-05
| ||
23:39 | Remove an unnecessary branch in the sqlite3LogEstToInt() routine. file: [19509465] check-in: [da81d7af] user: drh branch: trunk, size: 39023 | |
2016-03-22
| ||
20:05 | The sqlite3_column_decltype() routine should return NULL, not an empty string, if the column has no declared type. file: [8873d696] check-in: [605eba4a] user: drh branch: trunk, size: 39046 | |
2016-03-21
| ||
11:57 | Improved comments. No logical changes to code. file: [cf7dce85] check-in: [a6b6c6c4] user: drh branch: sqlite_system_errno, size: 38818 | |
11:38 | Do a better job of capturing all system errno values regardless of when they occur. file: [16126691] check-in: [7d49998d] user: drh branch: sqlite_system_errno, size: 38545 | |
2016-03-17
| ||
16:01 | Experimental implementation of the sqlite3_system_errno() interface. file: [c3fc5193] check-in: [6782c87b] user: drh branch: sqlite_system_errno, size: 38332 | |
2016-03-10
| ||
14:28 | Use #ifdefs to remove code that is unreachable in some configurations, replacing it with an assert(). file: [34ef7be4] check-in: [f96ec84d] user: drh branch: trunk, size: 38003 | |
2016-03-05
| ||
14:00 | Fix an incorrect #ifdef on sqlite3LogEstToInt(). file: [12800a93] check-in: [dca7b233] user: drh branch: trunk, size: 37745 | |
2016-03-04
| ||
21:18 | Fix an assert() in sqlite3VarintLen(), even though it is impossible to hit in SQLite due to the way sqlite3VarintLen() is used. file: [9da96848] check-in: [251424c5] user: drh branch: trunk, size: 37743 | |
2016-02-29
| ||
15:53 | Reduce the amount of heap required to store many schemas by storing each column datatype appended to the column name, rather than as a separate allocation. file: [a64585a7] check-in: [842b2116] user: drh branch: schema-storage, size: 37742 | |
2016-02-25
| ||
21:19 | Change the "PRAGMA stats" command to report size values in LogEst units. The eliminates the need for sqlite3LogEstToInt() unless non-standard compile-time options are used, so leave it out except in those cases. file: [6ed9d7bd] check-in: [832c237f] user: drh branch: trunk, size: 37559 | |
2016-02-19
| ||
13:20 | Add an SQLITE_DISABLE_INTRINSIC #ifdef to the sqlite3Put4Byte() function. file: [38c06684] check-in: [ba9c6827] user: drh branch: trunk, size: 37247 | |
2016-02-15
| ||
00:34 | Improvements to the application-defined function mechanism so that it is more compact and runs faster, especially when the application defines thousands of new SQL functions. file: [8073bbda] check-in: [3201fbcc] user: drh branch: many-app-functions, size: 37159 | |
2016-02-05
| ||
13:38 | Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority cases where db is guaranteed to be not NULL. file: [49ce0a65] check-in: [0a802e96] user: drh branch: oom-handling, size: 37043 | |
2016-01-22
| ||
17:48 | Add the sqlite3TokenInit() utility function. file: [72d40df0] check-in: [73231753] user: drh branch: trunk, size: 37041 | |
2015-11-21
| ||
17:27 | Fix over-length source code lines. No logic changes. file: [e802e8e3] check-in: [198d191b] user: drh branch: trunk, size: 36908 | |
2015-09-01
| ||
22:29 | Performance improvement in sqlite3VarintLen(). file: [fc612367] check-in: [adf9fefb] user: drh branch: trunk, size: 36888 | |
2015-07-29
| ||
21:47 | Add SQLITE_DISABLE_INTRINSIC define to disable use of intrinsic functions (e.g. for certain older compilers and/or platforms). file: [bc9dd64b] check-in: [f0075d73] user: mistachkin branch: trunk, size: 36905 | |
2015-07-03
| ||
17:54 | Enable use of the __builtin_bswap32() only with GCC 4.3 and higher. file: [46358a20] check-in: [030f60a7] user: mistachkin branch: trunk, size: 36817 | |
2015-06-30
| ||
17:28 | Make use of the _byteswap_ushort() and _byteswap_ulong() compiler intrinsics for MSVC, when available. file: [075c2878] check-in: [fe144dd7] user: mistachkin branch: trunk, size: 36769 | |
13:28 | Remove the use of htonl() in the previous check-in due to linkage issues. Add the get2byteAligned() macro and use it for access to the cell offsets on btree pages for about a 1% performance gain. file: [89bfe78b] check-in: [79ff36b7] user: drh branch: bswap-functions, size: 36529 | |
12:47 | Make use of htonl() and __builtin_bswap32() for faster implementations of sqlite3Get4byte() and sqlite3Put4byte(). file: [99396e37] check-in: [bc27ebd7] user: drh branch: bswap-functions, size: 36661 | |
03:18 | Implement sqlite3Strlen30() using strlen() from the C library. file: [a5471ac4] check-in: [8001aa52] user: drh branch: trunk, size: 36184 | |
2015-05-12
| ||
23:28 | Improve API armor integration. Fix harmless compiler warnings. file: [bb07b2e7] check-in: [fbf29b45] user: mistachkin branch: get-trace, size: 36241 | |
2015-04-18
| ||
04:45 | Disregard leading zeros when converting strings to 32-bit integers. file: [a6431c92] check-in: [691cc201] user: drh branch: trunk, size: 36229 | |
2015-01-10
| ||
16:49 | Improvements to compile-time-option hygiene. Use "#if OPTION" instead of "#ifdef OPTION" in cases where that makes sense, so that -DOPTION=0 will work. Add the "Have-Not" configuration in releasetest.tcl which disables all of the "HAVE_component" compile-time options. file: [98a7627c] check-in: [9e92a5ed] user: drh branch: trunk, size: 36197 | |
2014-10-24
| ||
00:35 | Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. file: [3b627daa] check-in: [c297a84b] user: drh branch: api-armor, size: 36203 | |
2014-09-06
| ||
16:39 | Fix typos in comments. No code changes. file: [4006c017] check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 36025 | |
2014-08-22
| ||
18:48 | Performance enhancement in sqlite3PutVarint(). file: [068dcd26] check-in: [a929be55] user: drh branch: trunk, size: 36024 | |
18:00 | Split the sqlite3Error() routine into sqlite3Error() and sqlite3ErrorWithMsg(), for a slight size reduction and performance increase. file: [524127b3] check-in: [cf561d1f] user: drh branch: trunk, size: 36436 | |
2014-08-15
| ||
22:37 | Aborted merge. file: [fec4914d] check-in: [c8ade949] user: numist branch: obsolete, size: 35289 | |
2014-07-23
| ||
13:40 | Change the hex literal processing so that only the SQL parser understands hex literals. Casting and coercing string literals into numeric values does not understand hexadecimal integers. This preserves backwards compatibility. Also: Throw an error on any hex literal that is too big to fit into 64 bits. file: [3076bdd5] check-in: [6c6f0de5] user: drh branch: hex-literal, size: 36193 | |
01:56 | Test cases for hex literals. file: [eff2c1e5] check-in: [19054339] user: drh branch: hex-literal, size: 35976 | |
01:26 | Add support for parsing C-style hexadecimal literals. file: [9d87de90] check-in: [34a1f38b] user: drh branch: hex-literal, size: 35974 | |
2014-05-16
| ||
14:17 | Repurpose the SQLITE_TESTCTRL_FAULT_INSTALL test-control to register a callback to be invoked by sqlite3FaultSim(). That test-control has been unused since 2008-06-20 and was never used in any official release. file: [049fe1d3] check-in: [0d43a7ad] user: drh branch: trunk, size: 34708 | |
2014-04-30
| ||
13:19 | Fix long-standing typos in comments. file: [2b5fb283] check-in: [b9f91317] user: drh branch: experimental-costs, size: 34098 | |
2014-02-10
| ||
12:59 | Faster implementation for sqlite3MulInt64(). file: [c46c9045] check-in: [010c48f6] user: drh branch: trunk, size: 34104 | |
2014-01-24
| ||
22:58 | Fixes for various clang warnings. file: [15ac2627] check-in: [87bf6063] user: drh branch: trunk, size: 33994 | |
2013-12-13
| ||
16:23 | Simplication and optimization of error message handling. file: [e71f19b2] check-in: [9d347f54] user: drh branch: trunk, size: 33959 | |
2013-12-05
| ||
16:41 | Fix two potential (and apparently harmless) shift overflows discovered by the -fcatch-undefined-behavior option of clang. file: [76ed0519] check-in: [e19eead8] user: drh branch: trunk, size: 33996 | |
2013-12-01
| ||
01:18 | Fix typos in the header comment on the sqlite3Atoi64() routine. file: [c1d47254] check-in: [c85e0c54] user: drh branch: trunk, size: 33959 | |
2013-11-26
| ||
15:45 | Change the REAL-to-INTEGER casting behavior so that if the REAL value is greater than 9223372036854775807.0 then it is cast to the latest possible integer, 9223372036854775807. This is sensible and the way most platforms work in hardware. The former behavior was that oversize REALs would be cast to the smallest possible integer, -9223372036854775808, which is the way Intel hardware works. file: [cbe05429] check-in: [6f53fc71] user: drh branch: trunk, size: 33959 | |
2013-10-07
| ||
16:53 | Try to remember statistics from ANALYZE using LogEst instead of u64. file: [2f0c9b1f] check-in: [8e78557a] user: drh branch: log-stats, size: 33974 | |
2013-10-05
| ||
18:16 | Begin an experimental refactoring to estimate the average number of bytes in table and index rows and to use that information in query planner. Begin by renaming WhereCost to LogEst and making that type and its conversion routines available outside of where.c. file: [2fa6c821] check-in: [66c4a251] user: drh branch: row-size-est, size: 33978 | |
2013-09-13
| ||
16:36 | Change the PRAGMA parser to use a binary search for the pragma name. Also: Minor performance enhancement to sqlite3DbFree() and to the token dequoter. file: [7f3e3543] check-in: [870c030b] user: drh branch: trunk, size: 32051 | |
2013-03-28
| ||
11:40 | Adjustment to an extreme corner case in the sqlite3Atoi64() routine. file: [f566b513] check-in: [39534b4b] user: drh branch: trunk, size: 32044 | |
2013-03-20
| ||
12:04 | Fix text-to-numeric type casting so that it works correctly on UTF16 strings that contain characters where the LSB is numeric but the MSB is non-zero. Ticket [689137afb6da41] file: [550f2b6a] check-in: [5b22053f] user: drh branch: trunk, size: 32041 | |
2012-06-19
| ||
00:45 | Improved rounding accuracy on text-to-float conversions. file: [0af2e515] check-in: [699b792c] user: drh branch: trunk, size: 31426 | |
2012-03-19
| ||
17:42 | Add additional test cases to e_insert.test. Update evidence marks. no changes to core code. file: [4f6cfad6] check-in: [036395c0] user: drh branch: trunk, size: 31417 | |
2012-02-22
| ||
16:58 | Change the SQLITE_FCNTL_PRAGMA file-control so that it can return a string value. file: [90673109] check-in: [fd8d7440] user: drh branch: file-control-pragma, size: 31393 | |
2012-01-05
| ||
18:33 | Fix an incorrect assert() on the sqlite3FileSuffix3() function. file: [d124c1f1] check-in: [24db54bd] user: drh branch: trunk, size: 31668 | |
2012-01-03
| ||
14:50 | Make sure filenames passed into sqlite3OsOpen() always have the extra zero-terminators needed by sqlite3_uri_parameter(). file: [ad06374b] check-in: [d73e93cf] user: drh branch: trunk, size: 31657 | |
2012-01-02
| ||
12:41 | Fix the build so that it works when SQLITE_ENABLE_8_3_NAMES=1. file: [9e07bd67] check-in: [d9761f15] user: drh branch: trunk, size: 31392 | |
2011-12-23
| ||
00:07 | Add interfaces sqlite3_uri_boolean() and sqlite3_uri_int64() which are wrappers around sqlite3_uri_parameter() combined with internal routines for converting strings to booleans and 64-bit integers. file: [19ae3ee0] check-in: [83d26b9a] user: drh branch: trunk, size: 31389 | |
2011-12-16
| ||
00:33 | Make sure the antipenultimate character of master-journal filenames is a "9" in order to avoid collisions with other files in 8+3 filename mode. Also, limit the number of attempts at finding a unique master-journal filename. file: [343508d3] check-in: [34a04836] user: drh branch: nx-devkit, size: 31449 | |
2011-11-04
| ||
12:05 | Change a memcpy() in sqlite3FileSuffix() to memmove() on the grounds that the source and destination may overlap. file: [01238e2b] check-in: [5e1d247e] user: dan branch: trunk, size: 31409 | |
2011-10-17
| ||
20:41 | Avoid 32-bit integer overflow when evaluating the exponent of a floating point value during ascii to binary conversion. file: [df83983b] check-in: [4becc47e] user: drh branch: trunk, size: 31408 | |
12:14 | Performance improvement for ascii to floating-point conversions with very large exponents. file: [a982d7ee] check-in: [59bb999c] user: drh branch: trunk, size: 31388 | |
2011-07-21
| ||
21:29 | Compile with the SQLITE_ENABLE_8_3_NAME macro set to 2 to force 8+3 filenames to be on all the time. file: [06302ffd] check-in: [ae83dac7] user: drh branch: trunk, size: 31238 | |
2011-05-18
| ||
02:41 | Remove unreachable branches from the 8.3 filename logic. file: [0f33bbbd] check-in: [4f7e7b44] user: drh branch: trunk, size: 31066 | |
2011-05-17
| ||
20:36 | Add the ability to limit filenames to 8+3 using the SQLITE_ENABLE_8_3_NAMES compile-time option together with a URI parameter of "8_3_names=1". file: [5f4ba293] check-in: [96d60985] user: drh branch: trunk, size: 31072 | |
2011-04-22
| ||
19:37 | Add the start of the "uri-filenames" feature. file: [914e860d] check-in: [b8a8132e] user: dan branch: uri, size: 30198 | |
2011-04-11
| ||
15:35 | Fix a signed integer overflow problem in the testcase() macro. file: [465fe10a] check-in: [f18f5f58] user: drh branch: trunk, size: 30311 | |
2011-03-08
| ||
13:06 | Fix two compiler warnings. No functional code changes. file: [cd997077] check-in: [c829868a] user: drh branch: trunk, size: 30296 | |
02:38 | Fix additional cases of possible signed integer overflow, especially with regard to negation. file: [f6c87805] check-in: [2d5800bd] user: drh branch: trunk, size: 30291 | |
2011-03-05
| ||
21:41 | Simplifications to the overflow-free multiplier. Also remove some commented-out code that was left in that subroutine by mistake on the previous check-in. file: [0e04fb38] check-in: [55fc25fd] user: drh branch: trunk, size: 30036 | |
20:59 | Fix all known instances of signed-integer overflow. Within SQL expressions, integer overflow now forces coercion to floating point. The shift operators work with any integer right-hand operand with negative values reversing the direction of the shift. file: [c849a1e7] check-in: [abf21394] user: drh branch: trunk, size: 30103 | |
13:54 | Fix an instance of signed arithmetic overflow and an one bit-shift overflow. Mark six other signed arithmetic overflow locations that need fixing. file: [77572d1f] check-in: [04abab71] user: drh branch: trunk, size: 27914 | |
2010-11-23
| ||
18:59 | Fix the max_page_count pragma so that it will not set to a value smaller than the current database size, as the documentation requires. Also, remove all occurances of atoi() from the core. file: [ab1c9242] check-in: [2031974b] user: drh branch: trunk, size: 27888 | |
2010-09-30
| ||
17:33 | Do correct affinity transformations on floating point values which have a decimal point at the beginning or end of the mantissa. Ticket [3998683a16a7076e08f5]. file: [cd785245] check-in: [ca154f97] user: drh branch: experimental, size: 27678 | |
16:51 | Changes to remove sqlite3FitsIn64Bits(). file: [0cca1dff] check-in: [43fef1ca] user: shaneh branch: experimental, size: 26968 | |
00:50 | Rework the text to numeric conversion routines so that they work with either UTF8 or UTF16 and do not require a NULL terminator. This allowed text to numeric conversion without reallocating the string. file: [7a5fb16c] check-in: [14eed3a0] user: drh branch: experimental, size: 27969 | |
2010-08-31
| ||
15:27 | Add evidence mark comments to source code. Add additional information to the documentation of sqlite3_release_memory(). Fix a minor inefficiency in mem1.c that was discovered while writing requirements tests. file: [5f5f4db4] check-in: [53b0c03f] user: drh branch: trunk, size: 28466 | |
2010-03-09
| ||
14:41 | Minor changes to silence compiler warnings on various MSVC builds. file: [32aebf04] check-in: [115c978b] user: shaneh branch: trunk, size: 28155 | |
2010-03-03
| ||
16:02 | Fix some extra instances of the constants addressed by [83e47ca006]. file: [c076b2e3] check-in: [0354ab27] user: dan branch: trunk, size: 28154 | |
15:49 | Fix some extra instances of the problematic constant in util.c on the 3.6.1 branch. file: [2f10789f] check-in: [527c71d5] user: dan branch: branch-3.6.1, size: 24591 | |
15:34 | Merge change [83e47ca006] into the 3.6.1 branch. file: [4dc882ce] check-in: [96bfaf9c] user: dan branch: branch-3.6.1, size: 24627 | |
15:18 | Factor out constant expressions in sqlite3GetVarint() to work around nuisance warning messages from the RVT compiler. file: [23c2e2a0] check-in: [83e47ca0] user: drh branch: trunk, size: 28190 | |
08:18 | Fix another instance of the same warning-inducing expression in util.c. file: [e4b015ed] check-in: [80c64e16] user: dan branch: mistake, size: 27419 | |
08:12 | Silence a compiler warning by using a constant value instead of a constant expression that some compilers mistakenly believe causes bitshift overflow. file: [e2e8af58] check-in: [587109c8] user: dan branch: mistake, size: 27390 | |
2010-02-25
| ||
23:44 | Fix to the database connection validity checker. Other test coverage enhancements. file: [0a28d634] check-in: [0f6291bb] user: drh branch: trunk, size: 27758 | |
14:44 | Add some technically unnecessary variable initializations to silence compiler warnings. file: [0828dd2f] check-in: [a2550597] user: dan branch: branch-3.6.1, size: 24195 | |
02:32 | Merge in all of the logging enhancements. This is a cherrypick merge of the following check-ins: [103321e37a], [a8076aede3], [6d910245ad], [7c4cca6d1a], [edea3bb740], [1a6d4bb130], [a8c984c1d6], [69a493182f], and [1168763d2c]. file: [56008ded] check-in: [46f406b2] user: drh branch: branch-3.6.22, size: 27298 | |
2010-02-24
| ||
21:44 | Add testcase() macros beside each sqlite3_log() call to make sure it is tested with both logging enable and disabled. file: [5a15aa0c] check-in: [1168763d] user: drh branch: trunk, size: 27667 | |
2010-02-23
| ||
20:11 | Continuing improvements to error reporting and the sqlite3_log() routine. file: [57256361] check-in: [edea3bb7] user: drh branch: trunk, size: 27709 | |
17:36 | Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. file: [32a7a4ce] check-in: [7c4cca6d] user: drh branch: trunk, size: 27165 | |
01:47 | Add the ".log" command to the shell. This shows that some errors are logged multiple times and other errors are never logged at all. file: [5b5353ff] check-in: [6d910245] user: drh branch: trunk, size: 29289 | |
2010-02-22
| ||
19:32 | Log all error messages if logging is enabled. file: [88b16cd6] check-in: [a8076aed] user: drh branch: trunk, size: 29283 | |
2010-01-13
| ||
17:39 | Make the sqlite3IsNaN() function a macro that evaluates to FALSE when compiled with SQLITE_OMIT_FLOATING_POINT. file: [aa0b1da8] check-in: [56f232d5] user: drh branch: trunk, size: 29281 | |
04:22 | Comment out unused code when SQLITE_OMIT_FLOATING_POINT is selected. Added testcase() macros to boundary conditions in util.c routines. file: [4f0fb856] check-in: [dfc6595d] user: drh branch: trunk, size: 29206 | |
2009-11-10
| ||
01:30 | Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [ad4f0307] check-in: [f6c045f6] user: drh branch: trunk, size: 28912 | |
2009-09-07
| ||
03:48 | Attempt to handle numbers at the limits of the IEEE 754 range better (nan.test now passes). file: [59d4e945] check-in: [2a74ae19] user: shane branch: trunk, size: 30006 | |
02:46 | Changes to internal AtoF to improve "accuracy" when measured against built-in GCC atof(). file: [7404ac07] check-in: [438e1577] user: shane branch: trunk, size: 29640 | |
2009-08-21
| ||
02:13 | Updated sqlite3AtoF() that performs slightly better with GCC, and significantly better with MSVC. file: [efb5f8e5] check-in: [f084f5a8] user: shane branch: trunk, size: 28464 | |
2009-07-28
| ||
16:44 | Add the experimental API sqlite3_strnicmp(). Modify fts3 so that in terms like 'column_name:token' the column_name is interpreted in a case-insenstive fashion. Ticket #3996. (CVS 6950) file: [c2416f60] check-in: [4571aa9e] user: danielk1977 branch: trunk, size: 27208 | |
2009-06-24
| ||
10:26 | Remove the sqlite3Assert() function. The ALWAYS() and NEVER() macros call assert() directly when compiled with SQLITE_DEBUG. (CVS 6809) file: [861d5b5c] check-in: [d8fc373f] user: drh branch: trunk, size: 27199 | |
2009-06-17
| ||
16:20 | Use caution to avoid integer overflow when doing real to integer affinity operations. Ticket #3922. (CVS 6776) file: [a7e981e0] check-in: [39255946] user: drh branch: trunk, size: 28010 | |
2009-06-10
| ||
11:07 | Remove a NEVER() that can sometimes occur on an OOM error. (CVS 6744) file: [44e9f8b4] check-in: [c27f23bb] user: drh branch: trunk, size: 28007 | |
2009-06-05
| ||
14:17 | Take care that a corrupt variable-length integer does not cause 32-bit integer overflow when parsing a record format, nor cause excessively large memory allocations. (CVS 6719) file: [8ff385a6] check-in: [38b20327] user: drh branch: trunk, size: 28014 | |
2009-05-31
| ||
21:21 | Code simplifications to facilitate coverage testing following the recent changes to the Expr object. (CVS 6697) file: [a9719d30] check-in: [ee9a144d] user: drh branch: trunk, size: 27812 | |
2009-05-28
| ||
01:00 | Additional refinements to Expr handling. Restore compression of trigger expressions. Change Expr.zToken to Expr.u.zToken and added Expr.u.iValue. Remove an unnecessary ExprDup from CHECK constraint processing. And so forth. (CVS 6682) file: [bb2bdd6d] check-in: [4ac2bdfb] user: drh branch: trunk, size: 27788 | |
2009-05-27
| ||
10:31 | Simplifications to the Expr object: Remove Expr.span completely and convert Expr.token into a char* Expr.zToken. Also simplify the Token object by removing the Token.dyn and Token.quoted fields. (CVS 6681) file: [f3ee188f] check-in: [7cb1c3ba] user: drh branch: trunk, size: 27788 | |
2009-05-06
| ||
19:03 | Fix compiler warning found with gcc -Wextra. (CVS 6614) file: [71c2d9d6] check-in: [93bdbc5e] user: drh branch: trunk, size: 27765 | |
2009-05-03
| ||
20:23 | Changes to facility full coverage testing of util.c. (CVS 6597) file: [40fb962d] check-in: [a6122990] user: drh branch: trunk, size: 27732 | |
2009-05-01
| ||
21:13 | Record within the Token structure itself whether or not the token has been dequoted. This steals one bit from the length of a token and thus limits the size of tokens to 1GiB. (CVS 6589) file: [b19471b8] check-in: [12bcb03d] user: drh branch: trunk, size: 26332 | |
2009-04-17
| ||
15:18 | Get the behavior of SQLITE_HAVE_ISNAN right. It was reversed in check-in (6517). Ticket #3809. (CVS 6518) file: [828c552a] check-in: [97c6ea23] user: drh branch: trunk, size: 26061 | |
11:57 | Add the SQLITE_HAVE_ISNAN compile-time option which, if present, causes SQLite to use the math library isnan() function rather than its own homebrew implementation of isnan(). (CVS 6517) file: [3990f949] check-in: [54d23521] user: drh branch: trunk, size: 26060 | |
2009-03-01
| ||
22:29 | Suppress some compiler warnings (where possible). Ticket #3696. (CVS 6331) file: [469d74f5] check-in: [a2373e54] user: drh branch: trunk, size: 25485 | |
2009-02-04
| ||
03:59 | Changes to completely remove all floating point ops if SQLITE_OMIT_FLOATING_POINT defined. Note that w/o fp, date/time, round, nan, etc. are all gone or limited in functionality. Updated some of the test scripts to support missing fp and 64-bit functionality. Ticket #3029. (CVS 6250) file: [1363f643] check-in: [5cef4000] user: shane branch: trunk, size: 25487 | |
2009-01-20
| ||
16:53 | When not compiling for an EBCDIC system, use built-in alternatives to the tolowe r(), toupper() and other ctype.h library functions. Ticket #3597. (CVS 6196) file: [f1ac1bcd] check-in: [1041abd6] user: danielk1977 branch: trunk, size: 25494 | |
2009-01-10
| ||
16:15 | When compiled with SQLITE_DEBUG (in other words, when assert() is enabled) the ALWAYS and NEVER macros will throw an assertion if their arguments are not true or false, respectively. (CVS 6159) file: [7b1e3987] check-in: [64a8dcd8] user: drh branch: trunk, size: 25483 | |
2008-12-10
| ||
22:15 | Fix an issue with the new sqlite3Strlen30() introduced by check-in (6007). Additional casts for compiler warnings. (CVS 6011) file: [ea62608f] check-in: [258722b6] user: drh branch: trunk, size: 24510 | |
21:19 | Additional work at eliminating silly compiler warnings. (CVS 6010) file: [27f60e2b] check-in: [ea01d437] user: drh branch: trunk, size: 24269 | |
2008-12-09
| ||
03:55 | Get rid of more silly compiler warnings. (CVS 5996) file: [6e997af3] check-in: [59ae0020] user: drh branch: trunk, size: 24272 | |
2008-11-17
| ||
19:18 | Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914) file: [b9a5d1c4] check-in: [8009220c] user: danielk1977 branch: trunk, size: 24200 | |
2008-07-28
| ||
19:34 | Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) file: [afe659cc] check-in: [e48f9697] user: drh branch: trunk, size: 24195 | |
2008-07-24
| ||
17:06 | Use a new algorithm for sqlite3Strlen that is slightly slower but is more like to work on a mixture of 32- and 64-bit systems. Ticket #3237, #3248. (CVS 5471) file: [06c5476b] check-in: [cb1876d8] user: drh branch: trunk, size: 24155 | |
2008-07-22
| ||
05:15 | Added comment on floating point precision compile option for MSVC. (CVS 5448) file: [f94d11f9] check-in: [e20f2b8c] user: shane branch: trunk, size: 24099 | |
2008-07-11
| ||
16:19 | Improved NaN testing for highly optimized GCC on x86. Tickets #3202 and #3194. (CVS 5396) file: [a8f80412] check-in: [a8a2fe45] user: drh branch: trunk, size: 23760 | |
16:15 | Additional test coverage for the btree module. Remove the failsafe() macro and replace it with ALWAYS() and NEVER(). (CVS 5395) file: [172ebad4] check-in: [d7e2f0d2] user: drh branch: trunk, size: 23735 | |
2008-07-10
| ||
00:32 | Remove unused code. Test coverage enhancements. Modify the algorithm used to select column names for VIEWs of joins so that the constructed column names omits the underlying table names. (CVS 5386) file: [06dbffe9] check-in: [636cd723] user: drh branch: trunk, size: 24231 | |
2008-07-09
| ||
13:28 | Begin adding the failsafe() macro. (CVS 5383) file: [fbfb7fe4] check-in: [8aae4fe7] user: drh branch: trunk, size: 24195 | |
2008-07-08
| ||
14:52 | Improved enforcement of the SQLITE_LIMIT_LENGTH limit. (CVS 5368) file: [e2022914] check-in: [ee931508] user: drh branch: trunk, size: 23735 | |
2008-07-06
| ||
00:21 | Fail to build if the -ffast-math option is specified in GCC. Ticket #3202. (CVS 5345) file: [aec21ebb] check-in: [aa5be9ee] user: drh branch: trunk, size: 23382 | |
2008-06-13
| ||
18:24 | Progress toward implementation of sqlite3_config() and a rework of the mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) file: [920d6d5d] check-in: [a03c5af1] user: drh branch: trunk, size: 23279 | |
2008-06-12
| ||
02:16 | Removed all C++ style comments. Ticket #3172. (CVS 5207) file: [512027b5] check-in: [59f72425] user: shane branch: trunk, size: 25802 | |
2008-05-19
| ||
15:54 | Fix sqlite3Atoi64 to return true if handed a number of all zeros. The failure to do this is benign as sqlite3Atoi64() is current used, but that might change in the future so it is good to go ahead and fix the function to return the correct result. (CVS 5142) file: [43277088] check-in: [bc907875] user: drh branch: trunk, size: 25695 | |
2008-05-13
| ||
16:41 | Do a slow-path in GetVarint32() for varints that do not fit in 32 bits. This will only happen when trying to interpret a corrupt database file so speed is not critical. (CVS 5129) file: [28fb90e0] check-in: [6a6b9437] user: drh branch: trunk, size: 25638 | |
2008-05-11
| ||
11:07 | New test cases to verify that SQLite handles bound NaN, +Inf, and -Inf floating point values correctly. Improvements to the text->real conversion routine so that it generates +Inf and -Inf at appropriate times. Tickets #3101 and #3060. (CVS 5116) file: [4f0125fa] check-in: [3ff2f1cd] user: drh branch: trunk, size: 26118 | |
2008-05-09
| ||
13:47 | Back out check-in (5108). The original isnan() implementation is preferred. Ticket #3101 and #3060. (CVS 5109) file: [99e0f115] check-in: [2349ae75] user: drh branch: trunk, size: 25869 | |
03:07 | Change the implementation of sqlite3IsNaN() so that it works even if compiled using -ffinite-math-only. Tickets #3101 and #3060. (CVS 5108) file: [743a0d5e] check-in: [19ee2b33] user: drh branch: trunk, size: 25871 | |
2008-05-01
| ||
02:47 | Test versions of getVarint functions. The updates essentially utilize loop unrolling and some shifting/anding tricks to minimize the number of logical operations required. (CVS 5072) file: [43a77ab7] check-in: [682dc24d] user: shane branch: trunk, size: 25444 | |
2008-04-28
| ||
17:41 | Modified Varint32 functions to disable code for single-byte handling as it is already handled by their respective macro forms. (CVS 5062) file: [a3907b05] check-in: [be10f5dd] user: shane branch: trunk, size: 22199 | |
16:55 | Change the implementation of the NaN recognition to be more cross-platform. Ticket #3089. (CVS 5060) file: [6b030399] check-in: [07fd9a8c] user: drh branch: trunk, size: 21757 | |
2008-04-16
| ||
00:49 | Make sure the database connection mutex is held before calling sqlite3SafetyOn() or sqlite3SafetyOff(). Ticket #3059. (CVS 5016) file: [943caa40] check-in: [d35dea05] user: drh branch: trunk, size: 21620 | |
2008-04-14
| ||
14:34 | Cleanup some #ifdefs to make their meaning clearly. No logical changes. (CVS 5001) file: [8b17ea7a] check-in: [b8bc5f3a] user: drh branch: trunk, size: 21530 | |
2008-04-11
| ||
19:37 | Faster implementation of hexToInt that uses not branches. Ticket #3047. (CVS 4992) file: [719bcd7f] check-in: [a70e9587] user: drh branch: trunk, size: 21516 | |
2008-04-05
| ||
18:41 | Add the sqlite3PutVarint32 routine as an alternative to sqlite3PutVarint. Gives 0.5% speed increase. (CVS 4968) file: [02c57c30] check-in: [b2517a7d] user: drh branch: trunk, size: 21655 | |
2008-04-04
| ||
15:12 | Smaller and hopefully faster routine for converting blob literals into binary. (CVS 4967) file: [9a435395] check-in: [92d49499] user: drh branch: trunk, size: 21233 | |
2008-03-19
| ||
13:03 | When a parse of the sqlite_master table fails, include the name of the object being parsed as part of the error message. (CVS 4881) file: [dba9e041] check-in: [57805b58] user: drh branch: trunk, size: 20996 | |
2008-01-23
| ||
03:03 | Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when compiling without -DSQLITE_DEBUG=1. (CVS 4744) file: [c56e41ed] check-in: [5375ad6b] user: drh branch: trunk, size: 21041 | |
2008-01-22
| ||
14:50 | Remove dead code from the lemon-generated parser. Better testing of the sqlite3_file_control() interface, and in particular make sure the interface works on :memory: databases. (CVS 4738) file: [ca0e3820] check-in: [83ca4fc7] user: drh branch: trunk, size: 20525 | |
2008-01-18
| ||
14:08 | Remove the OP_HexBlob instruction and code OP_Blob directly. Reduce the amount of memory allocation required to encode blob literals. Remove the "out2" instruction type. Other minor optimizations. (CVS 4726) file: [deda8c5a] check-in: [0e50c020] user: drh branch: trunk, size: 20525 | |
2007-10-23
| ||
15:39 | Floating point and 64-bit integer constants store in the virtual machine opcodes in binary, not as text. Performance improvement. Ticket #2733. (CVS 4507) file: [05f31144] check-in: [7e30fd6a] user: drh branch: trunk, size: 20530 | |
2007-09-01
| ||
10:01 | Allow sqlite3GetInt32 to recognize 10-digit decimal numbers as 32-bit. (CVS 4362) file: [49263637] check-in: [7571345d] user: danielk1977 branch: trunk, size: 20496 | |
2007-08-21
| ||
19:33 | The sqlite3_value object now carries an sqlite3* pointer to use for recording malloc failures. This eliminates the need to pass sqlite3* pointers into many internal interfaces. Also added more mutexing. (CVS 4263) file: [3f9c0387] check-in: [92872761] user: drh branch: trunk, size: 20346 | |
10:44 | Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) file: [23251cee] check-in: [fbbd5bda] user: drh branch: trunk, size: 20354 | |
2007-08-16
| ||
10:09 | More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) file: [0273ba16] check-in: [77b16713] user: danielk1977 branch: trunk, size: 20378 | |
04:30 | Half-way through a major refactoring of the memory allocation. I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) file: [c831d176] check-in: [deb7ecd6] user: drh branch: trunk, size: 20340 | |
2007-06-26
| ||
00:37 | Change the name of sqlite3_atoi64 back to sqlite3Atoi64 so that it is clearly and internal API. Modify the amalgamation to use a macro SQLITE_PRIVATE instead of the keyword "static" so the macro can be overridden to by nothing. (CVS 4124) file: [9e81d417] check-in: [96190cf1] user: drh branch: trunk, size: 21231 | |
2007-06-25
| ||
17:28 | Rework the string to integer conversion logic to address tickets #2344 and #2454. (CVS 4123) file: [f58a68d0] check-in: [5b3a4906] user: drh branch: trunk, size: 21233 | |
2007-05-16
| ||
17:50 | Avoid passing a negative value to isspace() in a couple places. (CVS 4016) file: [80cdf6b6] check-in: [d5db8be3] user: danielk1977 branch: trunk, size: 20142 | |
17:28 | Change a few selected functions to macros to speed things up. (CVS 4015) file: [b99afc69] check-in: [93f811ec] user: danielk1977 branch: trunk, size: 20132 | |
2007-05-15
| ||
16:51 | 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) file: [a44710b9] check-in: [f84d9dab] user: drh branch: trunk, size: 20273 | |
2007-05-08
| ||
20:37 | Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958) file: [4f6bbcec] check-in: [e9f56ead] user: drh branch: trunk, size: 20207 | |
2007-05-05
| ||
11:48 | Refactoring. Split btreeInt.h off from btree.c. Split malloc.c off from util.c. Expect much more to follow. (CVS 3925) file: [5eff5cec] check-in: [16041116] user: drh branch: trunk, size: 20207 | |
2007-05-04
| ||
13:15 | Eliminate all uses of sprintf() and strcpy(). These were not being misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) file: [9f9fec5d] check-in: [ba4845b3] user: drh branch: trunk, size: 44133 | |
2007-04-06
| ||
02:32 | Test coverage improvements. Over 90% of branches are now executed in both directions. (CVS 3820) file: [b6344325] check-in: [a776d93c] user: drh branch: trunk, size: 44059 | |
2007-03-31
| ||
22:33 | Remove unreachable code from util.c. (CVS 3784) file: [0102b625] check-in: [82b7a6f0] user: drh branch: trunk, size: 44062 | |
2007-03-27
| ||
13:36 | More strict aliasing fixes. The single source file library now runs successfully with -fstrict-alias. (CVS 3725) file: [8e8180ee] check-in: [c8a8a189] user: drh branch: trunk, size: 43703 | |
2007-03-26
| ||
22:05 | Modify sources to that they can be combined into a single sqlite3.c source file. Eliminate all type-pruned pointer warnings. (CVS 3722) file: [729a528f] check-in: [0b832e21] user: drh branch: trunk, size: 43711 | |
2007-03-19
| ||
17:44 | Modify the interface to the pager sub-system in preparation for performing IO in blocks based on sector-size, not database page-size. (CVS 3705) file: [f6d739fc] check-in: [7dc76588] user: danielk1977 branch: trunk, size: 43678 | |
2007-03-15
| ||
15:33 | Check for multiple calls to sqlite3FailedMalloc(). Ignore the second and subsequent calls. (CVS 3691) file: [5fd552a3] check-in: [71808745] user: danielk1977 branch: trunk, size: 43680 | |
2006-09-15
| ||
07:28 | Add support for extended result codes - additional result information carried in the higher bits of the integer return codes. This must be enabled using the sqlite3_extended_result_code() API. Only a few extra result codes are currently defined. (CVS 3422) file: [91d4cb18] check-in: [ba579ddc] user: drh branch: trunk, size: 43630 | |
2006-07-26
| ||
01:39 | Initial attempt at making sqlite3_interrupt() work even when called from a separate thread. (CVS 3335) file: [54090318] check-in: [35fd67d7] user: drh branch: trunk, size: 43602 | |
2006-07-11
| ||
12:40 | Fix a NULL pointer deference following malloc failure. Bug discovered by klocwork. (CVS 3328) file: [c8ada8ba] check-in: [eb91612f] user: drh branch: trunk, size: 43612 | |
2006-06-27
| ||
13:20 | Changes so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309) file: [410adf90] check-in: [5612b287] user: drh branch: trunk, size: 43587 | |
2006-04-08
| ||
19:14 | Variable declarations should come before code. Ticket #1763. (CVS 3171) file: [ca6ee727] check-in: [9682f844] user: drh branch: trunk, size: 43575 | |
2006-04-04
| ||
01:54 | Changes to get SQLite running on machines that use the EBCDIC character set. (CVS 3161) file: [137e6765] check-in: [4342b499] user: drh branch: trunk, size: 43561 | |
2006-03-03
| ||
19:12 | Ignore leading spaces on text to numeric conversions. Ticket #1662. Fixes to test cases broken by the recent changes to round(). (CVS 3118) file: [59389ed7] check-in: [cdca3383] user: drh branch: trunk, size: 42258 | |
2006-02-24
| ||
02:53 | Remove unused parameters on internal APIs. Suppress warnings from CodeWarrior. (CVS 3110) file: [f3f004c2] check-in: [4b22e4b8] user: drh branch: trunk, size: 42196 | |
2006-02-14
| ||
10:48 | Changes so that test_async.c works with memory management turned on. (CVS 3093) file: [8aa4f443] check-in: [f4150c29] user: danielk1977 branch: trunk, size: 42201 | |
2006-02-06
| ||
21:22 | Keep correct track of the amount of outstanding memory even when the system memory allocator returns a different number of bytes than requested. Ticket #1660. (CVS 3057) file: [405f46fe] check-in: [6f5eb74f] user: drh branch: trunk, size: 41168 | |
13:59 | Update the per-thread bytes allocated counter with the number of bytes actually allocated, not the number requested. Ticket #1660. (CVS 3056) file: [36ce845a] check-in: [3f0a0ff1] user: danielk1977 branch: trunk, size: 40984 | |
2006-01-23
| ||
15:39 | Fix a bug in pager.c that was overwriting freed memory. Comment changes in util.c. (CVS 3002) file: [82ee5985] check-in: [8c7e18c3] user: drh branch: trunk, size: 41169 | |
13:00 | Fix additional compiler warnings. Tickets #1615, #1616, #1627 (CVS 2994) file: [8c2e824e] check-in: [6385628e] user: drh branch: trunk, size: 41179 | |
2006-01-20
| ||
17:56 | Fix some compiler warnings. (CVS 2983) file: [2510e040] check-in: [b7bdac0a] user: drh branch: trunk, size: 41062 | |
2006-01-19
| ||
07:18 | Fix a bug with internally saving cursors open on index tables. Also increase coverage of util.c and btree.c. (CVS 2976) file: [14f1f842] check-in: [a628d84d] user: danielk1977 branch: trunk, size: 41052 | |
2006-01-18
| ||
18:22 | Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974) file: [3f09c6ff] check-in: [c7b9d50d] user: danielk1977 branch: trunk, size: 41070 | |
17:25 | Modify the sqlite3OsInMutex os-layer interface to take a single parameter to distinguish between mutexes held by the current thread and mutexes held by any thread. Part of the fix for ticket #1630. (CVS 2973) file: [b916d217] check-in: [e1ad9df1] user: drh branch: trunk, size: 41001 | |
16:51 | Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) file: [be92fe72] check-in: [ac090f2a] user: danielk1977 branch: trunk, size: 41008 | |
15:39 | Fix compilation error when neither MEMDEBUG or ENABLE_MEMORY_MANAGEMENT is enabled. (CVS 2971) file: [6279cd70] check-in: [4de5c529] user: danielk1977 branch: trunk, size: 40346 | |
15:25 | Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970) file: [28f399a6] check-in: [e0b022e5] user: danielk1977 branch: trunk, size: 40300 | |
2006-01-17
| ||
15:36 | Fix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG. (CVS 2964) file: [25e86729] check-in: [62dd2427] user: danielk1977 branch: trunk, size: 39820 | |
2006-01-16
| ||
15:32 | Fix problems compiling with memory-management enabled. Ticket #1619. (CVS 2960) file: [60adb2a0] check-in: [36b03259] user: danielk1977 branch: trunk, size: 39812 | |
2006-01-15
| ||
11:39 | Rollback any open write-transaction when a shared-cache connection is closed. (CVS 2947) file: [0d0dc827] check-in: [1944d92b] user: danielk1977 branch: trunk, size: 39868 | |
2006-01-13
| ||
06:33 | Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936) file: [b26be916] check-in: [dd705955] user: danielk1977 branch: trunk, size: 39864 | |
2006-01-12
| ||
01:25 | Improve performance by about 10% by avoiding excess calls to get the thread-specific data. (CVS 2921) file: [1d751152] check-in: [a8c74feb] user: drh branch: trunk, size: 39800 | |
2006-01-11
| ||
21:41 | Automatically deallocate thread-specific data when it is no longer being used. Ticket #1601. Also implemented the suggestion of ticket #1603. Memory management is now off by default at compile-time. The sqlite3_enable_memory_management() API has been removed. (CVS 2919) file: [8a147f96] check-in: [5d9c6aa9] user: drh branch: trunk, size: 39776 | |
16:10 | Ensure the database attached as part of VACUUM can be detached successfully after a malloc() failure. (CVS 2918) file: [3616a0a1] check-in: [8c26893c] user: danielk1977 branch: trunk, size: 39715 | |
2006-01-10
| ||
15:18 | Updates to the C-API documentation. Change the parameter type of sqlite3_soft_heap_limit to integer. (CVS 2903) file: [5d5792d4] check-in: [bdd35e9f] user: drh branch: trunk, size: 39611 | |
07:14 | If compiled with memory-debugging, write garbage to memory when it is freed. Fix for #1594. (CVS 2900) file: [264083f0] check-in: [bd02a6fa] user: danielk1977 branch: trunk, size: 39633 | |
2006-01-09
| ||
09:59 | Add a runtime interface to enable memory-management features. (CVS 2894) file: [0153015d] check-in: [44f8e313] user: danielk1977 branch: trunk, size: 39565 | |
06:29 | Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) file: [9af2eab4] check-in: [82b81f69] user: danielk1977 branch: trunk, size: 38930 | |
2006-01-06
| ||
21:52 | Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878) file: [8a3ef3c1] check-in: [9d71b7de] user: drh branch: trunk, size: 38758 | |
14:32 | Change the OS interface layer to use traditional direct function call implementations instead of the more complicated virtual function table. Omit the asynchronous I/O demo. (CVS 2870) file: [23d70b1f] check-in: [2529c2e1] user: drh branch: trunk, size: 38720 | |
06:33 | Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867) file: [f79eb057] check-in: [752a2754] user: danielk1977 branch: trunk, size: 38780 | |
2005-12-29
| ||
01:11 | Add support for DROP TABLE IF EXISTS. (CVS 2843) file: [a690bbf5] check-in: [a4c547de] user: drh branch: trunk, size: 38645 | |
2005-12-20
| ||
14:38 | Include sqlite3_release_memory() code when SQLITE_MEMDEBUG is not defined. (CVS 2838) file: [8e0e3b1a] check-in: [77a37cec] user: danielk1977 branch: trunk, size: 38488 | |
09:19 | Add simple tests and fixes for sqlite3_soft_heap_limit() (CVS 2837) file: [7e9ebebb] check-in: [c2c52854] user: danielk1977 branch: trunk, size: 38488 | |
2005-12-19
| ||
14:18 | Add some very simple test cases (and resulting bug fixes) for release_memory(). (CVS 2826) file: [0ed80dea] check-in: [154282fc] user: danielk1977 branch: trunk, size: 37522 | |
2005-12-18
| ||
08:51 | Add the (untested) sqlite3_release_memory() function. (CVS 2825) file: [31edbc07] check-in: [345addaa] user: danielk1977 branch: trunk, size: 36961 | |
2005-12-15
| ||
10:50 | Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819) file: [8bb5e055] check-in: [81a41f66] user: danielk1977 branch: trunk, size: 36221 | |
10:11 | Add the sqlite3_os_routine_set()/get() functions. (CVS 2818) file: [06ab7284] check-in: [c1ed79f5] user: danielk1977 branch: trunk, size: 36964 | |
2005-12-12
| ||
06:53 | Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814) file: [e5251546] check-in: [1637f379] user: danielk1977 branch: trunk, size: 36836 | |
2005-12-09
| ||
14:39 | Define the sqliteMalloc() macro differently to avoid a compiler warning. (CVS 2809) file: [94c0b99e] check-in: [3d177bde] user: danielk1977 branch: trunk, size: 34554 | |
14:25 | Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808) file: [c7772736] check-in: [601c3354] user: danielk1977 branch: trunk, size: 34555 | |
2005-12-06
| ||
12:52 | Some elements of the new malloc() failure handling. Not all cases work properly yet. Also, library is not threadsafe if malloc() fails right now. (CVS 2800) file: [88ebafb5] check-in: [e1606658] user: danielk1977 branch: trunk, size: 28034 | |
2005-10-20
| ||
07:28 | Changes to prevent various compiler warnings. (CVS 2750) file: [48fecbbe] check-in: [e261b8b0] user: drh branch: trunk, size: 27266 | |
2005-10-13
| ||
02:09 | Attempt to fix the SQLite core so that no floating point operations are used anywhere if SQLITE_OMIT_FLOATING_POINT is defined at compile-time. This is useful to people who use SQLite on embedded processors that lack floating point support. (CVS 2749) file: [e10e28d4] check-in: [a0bdb584] user: drh branch: trunk, size: 27263 | |
2005-09-17
| ||
18:34 | The sqlite3ReallocOrFree routine should set its pointer to NULL when it fails. (CVS 2715) file: [55caaffb] check-in: [0e85af44] user: drh branch: trunk, size: 27146 | |
2005-09-16
| ||
02:38 | Fix a whole host of newly discovered memory leaks the occur after a failure of realloc(). (CVS 2696) file: [fa99c441] check-in: [4686d649] user: drh branch: trunk, size: 27154 | |
2005-08-27
| ||
01:51 | Do not change fields of stale sqlite3 handles. Ticket #1384. (CVS 2626) file: [5650f6fe] check-in: [7e05b7ca] user: drh branch: trunk, size: 26831 | |
2005-08-20
| ||
03:03 | Increased test coverage. Some malloc tests now fail though this is believed to be an instrumentation problem not a real error. (CVS 2604) file: [f4678297] check-in: [f786f37a] user: drh branch: trunk, size: 26897 | |
2005-08-13
| ||
18:15 | Provide grave accent quoting of identifiers for MySQL compatibility. Ticket #1337. (CVS 2591) file: [f66b47d9] check-in: [6b7a4e97] user: drh branch: trunk, size: 26530 | |
2005-07-20
| ||
14:31 | Extra memory usage instrumentation added. (CVS 2553) file: [668d31be] check-in: [ac669f56] user: drh branch: trunk, size: 26424 | |
2005-06-29
| ||
17:24 | Check for zero-byte allocations in sqlite3MallocRaw. (CVS 2533) file: [1acbe299] check-in: [78cb8a9a] user: drh branch: trunk, size: 26047 | |
15:33 | Make sqlite3Malloc always return NULL when the number of bytes to allocate is 0. (CVS 2532) file: [1e7fe047] check-in: [657d74eb] user: drh branch: trunk, size: 26024 | |
2005-06-25
| ||
18:42 | Remove the blob(), text() and numeric() functions added in (2524) and replace them with the standard CAST operator. Ticket #1287. (CVS 2527) file: [54d5b4d5] check-in: [17631785] user: drh branch: trunk, size: 26001 | |
2005-06-14
| ||
16:04 | Provide the SQLITE_FILE_HEADER command-line option for changing the text that appears at the beginning of databases. (CVS 2515) file: [1cdce9ae] check-in: [3d7ee5b9] user: drh branch: trunk, size: 25982 | |
2005-06-06
| ||
15:07 | Handle failures of getcwd() without segfaulting. Ticket #1274. (CVS 2491) file: [c2de2234] check-in: [c1bd0a15] user: drh branch: version_2, size: 32110 | |
15:06 | Handle failures of getcwd() without segfaulting. Ticket #1274. (CVS 2490) file: [96008b52] check-in: [c1691004] user: drh branch: trunk, size: 25976 | |
2005-05-23
| ||
13:00 | Retain the error string if an error is generated by SSE during a VACUUM. (CVS 2476) file: [ae41deda] check-in: [f7b76d02] user: danielk1977 branch: trunk, size: 26070 | |
2005-05-22
| ||
20:12 | Never user a pointer to standard library routines malloc() and free(). This rule is to work around limitations of MSVC and the _fastcall calling convention. Ticket #1256. (CVS 2473) file: [1e1402e7] check-in: [a39c4467] user: drh branch: trunk, size: 26062 | |
2005-05-03
| ||
12:30 | Make sure all data structures have 8-byte alignment - necessary for the sparc architecture and helpful on other 64-bit platforms. Ticket #1232. Also update some comments in build.c. (CVS 2452) file: [ac74ac09] check-in: [d9418851] user: drh branch: trunk, size: 25906 | |
2005-03-18
| ||
14:03 | Remove unused code from util.c. Enhance the trace output in os_unix.c. (CVS 2397) file: [02bc2750] check-in: [f2f31919] user: drh branch: trunk, size: 25766 | |
2005-03-10
| ||
12:35 | Fix a #ifdef in util.c. (CVS 2369) file: [a53b6fc6] check-in: [f426c625] user: drh branch: trunk, size: 25961 | |
2005-02-01
| ||
10:35 | Have debugging code handle sqliteMalloc(n) where n<0 in the same way as production. (CVS 2303) file: [1b7b9a12] check-in: [ab85e1d0] user: danielk1977 branch: trunk, size: 25975 | |
2005-01-31
| ||
12:56 | Move sqlite3HashNoCase to hash.c. (CVS 2294) file: [5bee9b90] check-in: [5c10ccd8] user: danielk1977 branch: trunk, size: 25945 | |
2005-01-20
| ||
22:48 | Bug fixes and enhancements entered while on jury recess. (CVS 2246) file: [a858b93b] check-in: [38401dfb] user: drh branch: trunk, size: 26232 | |
2005-01-17
| ||
07:53 | Fix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226) file: [63e8d776] check-in: [62442529] user: danielk1977 branch: trunk, size: 26235 | |
2005-01-13
| ||
02:14 | Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204) file: [03ba0b0b] check-in: [8378455f] user: danielk1977 branch: trunk, size: 26244 | |
2005-01-12
| ||
07:15 | Tests to improve coverage of vdbemem.c. (CVS 2200) file: [4511559c] check-in: [319bb4a9] user: danielk1977 branch: trunk, size: 26207 | |
2005-01-11
| ||
15:28 | Improved test coverage for util.c. (CVS 2194) file: [bf42625f] check-in: [ad451a2d] user: drh branch: trunk, size: 26203 | |
2004-12-25
| ||
01:03 | Fix ticket #1046 by removing code and simplifying the query optimizer. Remarkably, this simplification also makes the optimizer do a better job. Ticket #1051 was fixed as a side-effect. (CVS 2172) file: [29f43c4a] check-in: [5fd1f471] user: drh branch: trunk, size: 26217 | |
2004-11-20
| ||
19:18 | Rig the sqliteMalloc() routine so that we can make it fail multiple times in a row. Modify the malloc.test procedure to make malloc fail in this way and verify that the failures are still handled correctly. (CVS 2121) file: [4a8db4e9] check-in: [519bc9d9] user: drh branch: trunk, size: 26008 | |
2004-11-04
| ||
04:34 | Fix a #ifdef in util.c. Ticket #984. (CVS 2052) file: [005fdf2d] check-in: [da045bd1] user: drh branch: trunk, size: 25723 | |
2004-11-03
| ||
13:59 | More work on optionally removing unused features at compile-time. (CVS 2049) file: [1126ae62] check-in: [a82980fd] user: drh branch: trunk, size: 25725 | |
2004-09-30
| ||
13:43 | Allow functions to be created when there are outstanding VMs. (Ticket #926) Fix problems with sqlite3_errcode(). Add tests for sqlite3_errcode(). (CVS 1989) file: [f4ab796b] check-in: [d0f1dc58] user: drh branch: trunk, size: 25418 | |
2004-09-25
| ||
14:39 | Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984) file: [39a6718b] check-in: [9ef4c24a] user: drh branch: trunk, size: 25232 | |
2004-09-08
| ||
20:13 | More changes directed at getting things to work on 64-bit platforms. (CVS 1949) file: [f9b661a3] check-in: [39755d21] user: drh branch: trunk, size: 26798 | |
2004-09-06
| ||
17:24 | 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) file: [dc00e84e] check-in: [3ddf5a9d] user: drh branch: trunk, size: 26331 | |
2004-09-05
| ||
23:23 | Comment changes and minor code cleanup. (CVS 1940) file: [f53a683f] check-in: [dfa9ea89] user: drh branch: trunk, size: 26327 | |
2004-08-31
| ||
00:52 | Combine the implementation of LIKE and GLOB into a single parameterized function. (CVS 1923) file: [d5aaf211] check-in: [0a47c8f8] user: drh branch: trunk, size: 26330 | |
2004-08-18
| ||
02:10 | Avoid creating a TEMP database unless it is absolutely necessary. (CVS 1890) file: [e2c63184] check-in: [5914a11c] user: drh branch: trunk, size: 31679 | |
2004-08-08
| ||
20:22 | Make sure the argument to ctype.h macros is always an unsigned character. Ticket #839. (CVS 1881) file: [c1d90377] check-in: [b0659738] user: drh branch: trunk, size: 31678 | |
2004-07-15
| ||
13:23 | Fix the return type on sqliteStrICmp when the input strings are not equal. Ticket #804. (CVS 1794) file: [2aacc79b] check-in: [660b89a0] user: drh branch: trunk, size: 31633 | |
13:08 | Correct return type on sqliteStrICmp() when argument strings differ. Ticket #804. (CVS 1793) file: [48f1e998] check-in: [296528b2] user: drh branch: version_2, size: 32196 | |
2004-06-30
| ||
12:49 | Have the debug version of sqliteRealloc() return partially uninitialised memory in the same way as the non-debug version can. (CVS 1783) file: [a373ba2f] check-in: [e78b0ff3] user: danielk1977 branch: trunk, size: 31613 | |
04:02 | Improve test coverage of util.c (CVS 1773) file: [b267d0fe] check-in: [68ac3221] user: drh branch: trunk, size: 31602 | |
02:35 | Minor fixes for UTF-16 databases. (CVS 1770) file: [94796d2b] check-in: [6c5c11e0] user: danielk1977 branch: trunk, size: 31973 | |
2004-06-25
| ||
01:10 | Fix signed integer problems in vxprintf. Ticket #778. Also remove some dead code from util.c. (CVS 1685) file: [43d0289d] check-in: [200cd3ba] user: drh branch: trunk, size: 31965 | |
2004-06-21
| ||
08:18 | Ensure sqlite3ErrorMsg() is used to report errors during compilation, sqlite3Error() during execution. Also remove unused param from sqlite3VdbeReset() and Finalize(). (CVS 1647) file: [e31e35d3] check-in: [7a33daef] user: danielk1977 branch: trunk, size: 36462 | |
2004-06-19
| ||
03:33 | Update sqlite3_close() API to match documentation. (CVS 1630) file: [1b374341] check-in: [61819740] user: danielk1977 branch: trunk, size: 36084 | |
2004-06-18
| ||
17:10 | Changes to allow libsqlite3.a and libsqlite.a to be both linked into the same program at the same time. (CVS 1621) file: [e59ee2af] check-in: [2590fffc] user: drh branch: trunk, size: 36144 | |
04:24 | Optimisation for unicode encoding conversion routines. (CVS 1614) file: [9d9ef854] check-in: [39a415ea] user: danielk1977 branch: trunk, size: 36145 | |
2004-06-16
| ||
07:45 | Fix two more memory leaks. (CVS 1603) file: [6e93dad9] check-in: [98b48704] user: danielk1977 branch: trunk, size: 36038 | |
2004-06-12
| ||
00:42 | Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572) file: [90375fa2] check-in: [9b84f2f4] user: danielk1977 branch: trunk, size: 35689 | |
2004-06-09
| ||
14:01 | Change the MEMORY_DEBUG macro to SQLITE_DEBUG. (CVS 1546) file: [e8629f04] check-in: [428b685b] user: drh branch: trunk, size: 35669 | |
09:55 | Some progress on user-defined collation sequences. (CVS 1544) file: [ad379519] check-in: [c634e71f] user: danielk1977 branch: trunk, size: 35676 | |
2004-06-06
| ||
12:41 | Performance improvements for LIKE. It is still too slow though. (CVS 1535) file: [8b368027] check-in: [30b81507] user: danielk1977 branch: trunk, size: 35648 | |
09:44 | Enhance user function API to support association of meta-data with constant arguments and the specification of text encoding preference. The LIKE operator takes advantage of both. (CVS 1534) file: [026035fc] check-in: [92337d8f] user: danielk1977 branch: trunk, size: 35655 | |
2004-06-02
| ||
00:41 | Remove the sqlite3_libencoding() api and the ISO8859 encoding option. (CVS 1523) file: [d3d2f62e] check-in: [b53640ed] user: drh branch: trunk, size: 36991 | |
2004-05-30
| ||
20:46 | Various speed enhancements. (CVS 1498) file: [3b647719] check-in: [a0db15bb] user: drh branch: trunk, size: 36961 | |
2004-05-28
| ||
16:00 | Factor common code for generating index keys into a procedure. Other speed improvements and bug fixes. (CVS 1487) file: [4df9d9b0] check-in: [6661bb5f] user: drh branch: trunk, size: 36649 | |
11:37 | Allow CREATE TABLE and CREATE INDEX on attached databases. (CVS 1483) file: [79a813df] check-in: [4984a130] user: danielk1977 branch: trunk, size: 36662 | |
2004-05-27
| ||
13:35 | A couple of test cases and fixes for blob literals. (CVS 1474) file: [d299404f] check-in: [6d552af6] user: danielk1977 branch: trunk, size: 36663 | |
09:28 | Various bugfixes. 68 Test cases still fail. (CVS 1471) file: [179c1347] check-in: [67a140cf] user: danielk1977 branch: trunk, size: 36639 | |
03:12 | Fixes to the MEM changes. The library now links. (CVS 1470) file: [1f6e8feb] check-in: [f33d15d9] user: drh branch: trunk, size: 35995 | |
01:53 | More MEM changes in the vdbe.c. Still will not compile. (CVS 1469) file: [caef24dc] check-in: [dbdd1a7f] user: drh branch: trunk, size: 36006 | |
2004-05-24
| ||
07:04 | Have the vdbe handle strings in the same encoding as the database. (CVS 1445) file: [4c0adcbc] check-in: [b7155db2] user: danielk1977 branch: trunk, size: 36168 | |
2004-05-20
| ||
11:00 | Add some more elements of the new API. (CVS 1416) file: [5cbeb452] check-in: [2821767b] user: danielk1977 branch: trunk, size: 35837 | |
2004-05-19
| ||
20:41 | Correctly handle 64-bit integers in SQL statements. (CVS 1408) file: [35d20bd8] check-in: [34f03ba6] user: drh branch: trunk, size: 34605 | |
10:34 | Tests for text encoding conversion functions. Also new sqlite3_bindXX APIs. (CVS 1400) file: [b72f775a] check-in: [4e602bb4] user: danielk1977 branch: trunk, size: 32429 | |
2004-05-18
| ||
22:03 | Remove dead code from util.c (CVS 1396) file: [6d4339b7] check-in: [3ce42e85] user: drh branch: trunk, size: 32420 | |
15:57 | New varint encoding gives a maximum varint length of 9 instead of 10. (CVS 1395) file: [c2e92ba9] check-in: [61bdb53a] user: drh branch: trunk, size: 35046 | |
2004-05-14
| ||
16:50 | Optimized varint routines and tests added. (CVS 1380) file: [f9511ffb] check-in: [d4e0933d] user: drh branch: trunk, size: 34300 | |
11:00 | Implement type affinity for table and index records (CVS 1375) file: [58407b13] check-in: [dbfe6e93] user: danielk1977 branch: trunk, size: 32882 | |
2004-05-11
| ||
06:17 | Minor changes to the vdbe so that more tests pass. (CVS 1352) file: [778a8cd0] check-in: [16078fe0] user: danielk1977 branch: trunk, size: 32659 | |
2004-05-10
| ||
10:34 | Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338) file: [74ee3165] check-in: [2242423e] user: danielk1977 branch: trunk, size: 32652 | |
10:05 | Add some functions to serialize and deserialize vdbe values (used by manifest typing). (CVS 1336) file: [06f47282] check-in: [05434497] user: danielk1977 branch: trunk, size: 32632 | |
07:17 | Add versions of OP_MakeRecord and OP_Column that use manifest typing (not activated yet). (CVS 1334) file: [da3b4312] check-in: [8a66a502] user: danielk1977 branch: trunk, size: 32626 | |
2004-05-08
| ||
08:23 | Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) file: [0c31a53b] check-in: [8af6474c] user: danielk1977 branch: trunk, size: 32192 | |
2004-04-26
| ||
14:10 | Pager tests working. (CVS 1308) file: [b2287b07] check-in: [910067a2] user: drh branch: trunk, size: 32149 | |
2004-02-22
| ||
17:49 | Code cleanup in the date and time functions. (CVS 1263) file: [122bc174] check-in: [9b3bcde1] user: drh branch: trunk, size: 32136 | |
2004-02-21
| ||
19:02 | Cleanup the printf code to make it smaller and more modular. Fix a memory leak in the new OP_ContextPush opcode. (CVS 1258) file: [8fbed02d] check-in: [2756f7af] user: drh branch: trunk, size: 32078 | |
2004-01-07
| ||
03:41 | Make it safe to call sqliteMalloc() with a request for 0 bytes. Ticket #534. (CVS 1164) file: [64995b59] check-in: [6c858db2] user: drh branch: trunk, size: 34507 | |
03:04 | Use "long double" to hold intermediate values when doing ascii to binary and binary to ascii conversions of floating point numbers. (CVS 1162) file: [22977a29] check-in: [8371f662] user: drh branch: trunk, size: 34487 | |
2004-01-06
| ||
01:13 | Fix problem in the code generator were incorrect code was being created if the SQL source contained a negative integer that was too large to fit in a 32-bit signed integer variable. Ticket #552. (CVS 1157) file: [0e3bf40d] check-in: [b8381d9f] user: drh branch: trunk, size: 34460 | |
2003-12-23
| ||
02:17 | Use a built-in atof() function instead of the one from the library to avoid problems with locale. Ticket #305. (CVS 1144) file: [48631b7f] check-in: [4d9edbc5] user: drh branch: trunk, size: 33763 | |
2003-10-22
| ||
22:15 | Comment changes to the lemon parser template. Change some sqliteMalloc() calls to sqliteMallocRaw() for speed. Update the website template. (CVS 1114) file: [cc95dd36] check-in: [c637caf1] user: drh branch: trunk, size: 32267 | |
2003-08-26
| ||
11:29 | Fix a bug in sqliteRealloc() that only occurs if there is memory corruption and debugging is enabled. Ticket #421. (CVS 1086) file: [f16efa2d] check-in: [eebc82b7] user: drh branch: trunk, size: 32336 | |
2003-07-30
| ||
12:34 | The {quote: SrcList} object was not being expanded correctly by a call to sqliteSrcListAppend() if the {quote: SrcList} had previously been duplicated by a call to sqliteSrcListDup(). Ticket #416. This check-in fixes that problem by keeping a separate nAlloc field on {quote: SrcList}. A similar change is made to {quote: IdList} and {quote: ExprList} to avoid future problems. (CVS 1067) file: [9ab0f573] check-in: [da627325] user: drh branch: trunk, size: 32316 | |
2003-06-05
| ||
14:27 | Remove unused code from util.c. (CVS 1006) file: [566c7780] check-in: [1bcaa841] user: drh branch: trunk, size: 31794 | |
2003-06-02
| ||
06:17 | Added comments. (CVS 993) file: [18d16fa3] check-in: [1276ddb3] user: jplyon branch: trunk, size: 38204 | |
2003-05-12
| ||
23:06 | Make sure hash functions always return non-negative. (CVS 969) file: [8065b788] check-in: [39a3e403] user: drh branch: trunk, size: 38015 | |
2003-04-18
| ||
17:45 | Fix for ticket #297 - bug in sqliteSortCompare(). (CVS 917) file: [87635cfd] check-in: [4ded1965] user: drh branch: trunk, size: 38022 | |
2003-04-16
| ||
02:17 | Simplify the number processing code. Fix for ticket #281. (CVS 910) file: [13c338a7] check-in: [4326b52a] user: drh branch: trunk, size: 38034 | |
2003-03-31
| ||
13:36 | Minor follow-on changes to the recent ATTACH patch. (CVS 892) file: [8953c612] check-in: [e80afe75] user: drh branch: trunk, size: 38053 | |
02:12 | Add the sqliteErrorMsg() function and use it to generate error message text during parsing and code generation. This simplifies the code somewhat and makes it easier to handle names with a database prefix. (CVS 891) file: [96178ddf] check-in: [1d3fc977] user: drh branch: trunk, size: 38031 | |
2003-02-16
| ||
22:21 | Added test code to check for file descriptor leaks. All regression tests pass now on both win2k and linux. (CVS 868) file: [73b668d1] check-in: [75ba7828] user: drh branch: trunk, size: 35069 | |
2003-01-29
| ||
14:06 | The callback-free API is now working, though much more testing is need. (CVS 853) file: [757875a3] check-in: [162b2591] user: drh branch: trunk, size: 35001 | |
2003-01-14
| ||
00:44 | Make the GLOB work write with upper-case characters. Ticket #226. (CVS 831) file: [e23f8ffc] check-in: [7ea46e70] user: drh branch: trunk, size: 35007 | |
2003-01-12
| ||
18:02 | Initial check-in of the code for the new sqlite_set_authorizer() API function. The code is mostly untested at this point. (CVS 827) file: [354336da] check-in: [52d5007f] user: drh branch: trunk, size: 35036 | |
2003-01-02
| ||
14:43 | Code optimizations to help the library run faster. (CVS 808) file: [e2d10884] check-in: [db745e87] user: drh branch: trunk, size: 34597 | |
2002-12-17
| ||
13:05 | Take care not to modify the sqlite* pointer to sqlite_exec() if we suspect that the pointer is stale - that it has previously been passed to sqlite_close(). Possible fix for ticket #202. Prior to this fix, test misuse-5.3 was causing a change to a buffer that had been previously free()-ed. (CVS 799) file: [8f19c71e] check-in: [f04547ed] user: drh branch: trunk, size: 34246 | |
2002-10-20
| ||
15:46 | Make sure malloc(0) always returns NULL. Fix for ticket #171. (CVS 764) file: [ca7650ef] check-in: [4622b7ce] user: drh branch: trunk, size: 33787 | |
2002-09-30
| ||
01:31 | Fix an uninitialized variable that could cause problems when comparing two NULLs. (CVS 757) file: [cd28b33c] check-in: [01542500] user: drh branch: trunk, size: 33759 | |
2002-08-26
| ||
19:55 | Fix for ticket #142: Make sure we get the correct sort order even when the columns being sorted contain NULLs. (CVS 730) file: [c70d5da5] check-in: [45847390] user: drh branch: trunk, size: 33755 | |
2002-08-25
| ||
18:29 | Fix the memory leak introduced by check-in (725). (CVS 726) file: [60bc91db] check-in: [b957dafc] user: drh branch: trunk, size: 33382 | |
2002-08-13
| ||
23:02 | Make the distinction between text and numeric data. (CVS 710) file: [bdbf0aed] check-in: [310ac4fb] user: drh branch: trunk, size: 33273 | |
2002-07-05
| ||
21:42 | All the code is now in place for SQLite to distinguish between NUMERIC and TEXT datatypes. Still need to turn on the new code and test it. (CVS 659) file: [7a99e754] check-in: [b4737a16] user: drh branch: trunk, size: 33115 | |
2002-06-14
| ||
20:58 | Improvements to comments. No code changes. (CVS 618) file: [876b259f] check-in: [7e10e60b] user: drh branch: trunk, size: 32560 | |
2002-05-31
| ||
15:51 | Refinements to NULL processing: NULLs are indistinct for DISTINCT and UNION. Multiplying a NULL by zero yields zero. In a CASE expression, a NULL comparison is considered false, not NULL. With these changes, NULLs in SQLite now work the same as in PostgreSQL and in Oracle. (CVS 600) file: [7cf46b56] check-in: [da61aa1d] user: drh branch: trunk, size: 32564 | |
2002-05-26
| ||
21:34 | Change functions to handle NULLs correctly. Added the NULLIF() function. (CVS 590) file: [a9f6e6f0] check-in: [46ce1a9a] user: drh branch: trunk, size: 32456 | |
2002-05-10
| ||
13:14 | Improvements to the SQLITE_MISUSE detection logic. Also added test cases for this logic, including the new test file "misuse.test". (CVS 559) file: [707c30f8] check-in: [f42907ce] user: drh branch: trunk, size: 32465 | |
05:44 | Attempt to detect when two or more threads try to use the same database at the same time and return an SQLITE_MISUSE error. Also return this error if an attempt is made to use a closed database. (CVS 558) file: [79bcc175] check-in: [a05fabd2] user: drh branch: trunk, size: 32867 | |
2002-03-06
| ||
03:08 | Optimizations to the processing of integer comparisons. (CVS 420) file: [b34cd913] check-in: [b7a7dae9] user: drh branch: trunk, size: 32787 | |
2002-02-28
| ||
04:10 | Bug fix when -DMEMORY_DEBUG is off. (CVS 407) file: [00a35b42] check-in: [e14b0c82] user: drh branch: trunk, size: 32742 | |
00:41 | Completely remove the old SQL function system and replace it with the new user functions. The code currently compiles but it coredumps on the test suite. Do not use in its present state. (CVS 400) file: [1c01f0a5] check-in: [50797fee] user: drh branch: trunk, size: 32680 | |
2002-02-27
| ||
01:47 | Bug fixes in the VIEW implementation. (CVS 396) file: [40a12067] check-in: [668ef638] user: drh branch: trunk, size: 32582 | |
2002-02-14
| ||
21:42 | All identifiers to be quoted in square brackets, for compatibility with MS-Access. (CVS 370) file: [f31f3d61] check-in: [e17a858c] user: drh branch: trunk, size: 32520 | |
2002-01-22
| ||
14:11 | Constant ORDER BY or GROUP BY expressions are an error. (CVS 352) file: [8f8973dd] check-in: [035984a5] user: drh branch: trunk, size: 32281 | |
2002-01-14
| ||
09:28 | Fix warning messages in VC++. Patches from nicolas352001. (CVS 347) file: [3958a14a] check-in: [f3038d21] user: drh branch: trunk, size: 32199 | |
2001-12-22
| ||
14:49 | Bug fixing in the new integer primary key code. (CVS 334) file: [8e9ca72d] check-in: [29cab124] user: drh branch: trunk, size: 32194 | |
2001-11-24
| ||
00:31 | Fix comparison functions so that they are consistent with the order of elements in indices. Fix the handling of large integers. (CVS 317) file: [13dcd870] check-in: [fc2aae04] user: drh branch: trunk, size: 32114 | |
2001-11-21
| ||
02:21 | Attempting to add support for 64-bit platforms. (CVS 314) file: [265cff87] check-in: [03673adb] user: drh branch: trunk, size: 32306 | |
2001-11-06
| ||
04:00 | Implement indices that occur in sort order and the LIMIT...OFFSET clause of SELECT statements. (CVS 301) file: [ac83973e] check-in: [eb07768a] user: drh branch: trunk, size: 32289 | |
2001-10-22
| ||
02:58 | More changes for 2.0.7. (CVS 293) file: [aa4d2de6] check-in: [f8328a5f] user: drh branch: trunk, size: 29655 | |
2001-09-27
| ||
03:22 | Added basic support for enforcement of UNIQUE on indices and primary keys. Support for addition constraints is to follow. (CVS 267) file: [4da3be37] check-in: [34c42967] user: drh branch: trunk, size: 29472 | |
2001-09-23
| ||
02:35 | Fixes to the locking and rollback behavior. (CVS 261) file: [9c888445] check-in: [337b3d3b] user: drh branch: trunk, size: 29392 | |
2001-09-19
| ||
13:22 | Trying to get the OS abstraction layer to work. (CVS 256) file: [2a3491fd] check-in: [abff526d] user: drh branch: trunk, size: 29312 | |
2001-09-18
| ||
22:17 | Fix a problem in GROUP BY with multiple columns. (CVS 255) file: [2cd0bb96] check-in: [22132ce1] user: drh branch: trunk, size: 29297 | |
2001-09-16
| ||
00:13 | Disclaimed copyright. Preparing for release 2.0. (CVS 250) file: [a09c3c12] check-in: [4e926efe] user: drh branch: trunk, size: 29312 | |
2001-09-15
| ||
13:15 | Limit the total data in a single row to 2^16-1 bytes. (CVS 248) file: [fedf96bc] check-in: [8fdec4d8] user: drh branch: trunk, size: 29867 | |
00:57 | Everything is working on Linux. This is release 2.0-Alpha-1. (CVS 246) file: [f3f1550f] check-in: [14474fa1] user: drh branch: trunk, size: 29787 | |
2001-09-13
| ||
13:46 | The code is in place to replace GDBM with BTree. But I have not yet attempted to compile it. I am sure the code contains bugs. (CVS 238) file: [c77668fe] check-in: [6ecc8b20] user: drh branch: trunk, size: 29456 | |
2001-04-11
| ||
14:28 | better handling of out-of-memory errors (CVS 207) file: [1b396ac3] check-in: [86b30cd0] user: drh branch: trunk, size: 28166 | |
2001-04-05
| ||
15:57 | i18n changes (CVS 201) file: [aec315b8] check-in: [8390f652] user: drh branch: trunk, size: 27489 | |
2001-04-04
| ||
21:10 | Added support for UTF-8 (CVS 199) file: [16a7af31] check-in: [f0674697] user: drh branch: trunk, size: 27850 | |
2001-03-14
| ||
12:35 | Fix a bug on systems where malloc(0) return NULL. Add code to detect this bug even on systems were it used not to occur. (CVS 190) file: [f4573201] check-in: [bda83e2b] user: drh branch: trunk, size: 24556 | |
2000-12-10
| ||
18:23 | speed tweaks and documentation updates (CVS 167) file: [0298100e] check-in: [ced90c3f] user: drh branch: trunk, size: 24533 | |
2000-10-11
| ||
19:28 | Misc cleanup. Notes on compiling for Win95. (CVS 152) file: [811e0ad4] check-in: [3f0f1fa1] user: drh branch: trunk, size: 24217 | |
2000-09-14
| ||
01:21 | better handling of exponential notation (CVS 145) file: [782f87af] check-in: [ea0e3282] user: drh branch: trunk, size: 23966 | |
2000-07-31
| ||
11:57 | fix a configuration problem on TAC-4 (CVS 113) file: [b75b33e6] check-in: [69b73ea3] user: drh branch: trunk, size: 22135 | |
2000-06-21
| ||
13:59 | :-) (CVS 104) file: [fcd7ac9d] check-in: [e1bf96a4] user: drh branch: trunk, size: 22116 | |
2000-06-08
| ||
13:36 | remove all memory leaks (CVS 80) file: [38e4bb5e] check-in: [bf98cf82] user: drh branch: trunk, size: 22116 | |
2000-06-05
| ||
16:01 | separate Select structure (CVS 51) file: [33f9baa0] check-in: [ce45dea9] user: drh branch: trunk, size: 20968 | |
2000-06-04
| ||
12:58 | rework the VDBE engine. NULL is now distinct from "" (CVS 49) file: [a06e8379] check-in: [6ea5cebf] user: drh branch: trunk, size: 20964 | |
2000-06-02
| ||
13:27 | :-) (CVS 37) file: [c22846f2] check-in: [2b55f9b7] user: drh branch: trunk, size: 20895 | |
2000-05-31
| ||
22:58 | :-) (CVS 29) file: [da47fe65] check-in: [09054df3] user: drh branch: trunk, size: 20921 | |
02:27 | :-) (CVS 20) file: [6b4327d7] check-in: [01d85b35] user: drh branch: trunk, size: 20480 | |
2000-05-30
| ||
16:27 | :-) (CVS 15) file: [2a0314dc] check-in: [8d66c735] user: drh branch: trunk, size: 16646 | |
13:44 | :-) (CVS 14) file: [dc1e1814] check-in: [1bb8ee8d] user: drh branch: trunk, size: 16093 | |
2000-05-29
| ||
23:48 | :-) (CVS 8) file: [321c136f] check-in: [e34143c2] user: drh branch: trunk, size: 13990 | |
23:30 | :-) (CVS 7) file: [171dc633] check-in: [fdf4b31a] user: drh branch: trunk, size: 13991 | |
17:44 | :-) (CVS 2) file: [b2e2a4dc] check-in: [53841c66] user: drh branch: trunk, size: 13931 | |
14:26 | initial check-in of the new version (CVS 1) file: [370c2339] check-in: [6f3655f7] user: drh branch: trunk, size: 13823 Added | |