SQLite

All files named ”src/util.c”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for src/util.c

2025-02-27
03:23
[36fb115006] part of check-in [d6514c20ff] Internal doc typo fixes reported in forum post 01d15f21b6. (check-in: [d6514c20ff] user: stephan branch: build-break, size: 50571)
2025-02-10
11:16
[9ff6470dab] part of check-in [4aad891802] Convert some expensive NEVER() and ASSERT() macros into assert()s. (check-in: [4aad891802] user: drh branch: trunk, size: 50571)
2024-12-09
11:47
[e5f6a5eeaa] part of check-in [453c949914] Further improvements to the decimal-to-float conversion for values close to LARGEST_UINT64. (check-in: [453c949914] user: drh branch: trunk, size: 50541)
2024-12-07
20:01
[9234bbddd2] part of check-in [07bd06b13c] Yet another iteration of the solution to the floating-point conversion problem. This one avoids complaints about oversize double values from -fsanitize. (check-in: [07bd06b13c] user: drh branch: branch-3.47, size: 50338)
19:57
[aaafeaa620] part of check-in [fc6904a508] Yet another iteration of the solution to the floating-point conversion problem - this what avoids complaints about oversize double values from -fsanitize. (check-in: [fc6904a508] user: drh branch: trunk, size: 50340)
19:12
[10dc2a3639] part of check-in [18b20494ce] A cleaner and more robust solution to the floating-point conversion problem originally fixed earlier today. (check-in: [18b20494ce] user: drh branch: branch-3.47, size: 50438)
19:06
[bf4e641c1e] part of check-in [351de57f80] A cleaner and more robust solution to the floating-point conversion problem originally fixed by [81342fa6dd03fffb]. (check-in: [351de57f80] user: drh branch: trunk, size: 50440)
16:53
[196a1498ed] part of check-in [462700aeb7] Fix harmless compiler warning caused by the previous check-in. (check-in: [462700aeb7] user: drh branch: trunk, size: 50258)
14:48
[fde9ad9ce1] part of check-in [81342fa6dd] On x64 hardware, round-trip uint64_t→double→uint64_t conversions fail for values greater than UINT64_MAX-2047. This caused the SQLite text-to-float converter routine to give incorrect results for values between '1.8446744073709550592eNNN' and '1.8446744073709551609eNNN' for any exponent NNN. This problem was introduced by check-in [761d8fd18b0ee868] and first appeared in version 3.47.0 and was reported by forum post 569a7209179a7f5e. Fixed by this check-in. (check-in: [81342fa6dd] user: drh branch: trunk, size: 50276)
2024-10-19
13:20
[ceebf912f6] part of check-in [5f23036a87] Move the #include of hwtime.h from the bottom of util.c to the top of vdbe.c so that it will be available when needed, even for non-amalgamation builds. (check-in: [5f23036a87] user: drh branch: trunk, size: 50185)
2024-10-01
20:29
[4d57ae861d] part of check-in [f622b52024] Remove all code that makes use of the C-language "long double" datatype. (check-in: [f622b52024] user: drh branch: omit-long-double, size: 50403)
19:10
[aea7987484] part of check-in [98066e2d22] New #ifdefs to omit code that is unused when SQLITE_USE_LONG DOUBLE is defined. (check-in: [98066e2d22] user: drh branch: trunk, size: 51937)
16:55
[ae41aadb96] part of check-in [ca5964ef70] Add compile-time option -DSQLITE_USE_LONG_DOUBLE=0 to omit all attempts to use "long double". Or =1 to omit attempts to use the Dekker algorithms to achieve high-resolution floating point. (check-in: [ca5964ef70] user: drh branch: trunk, size: 51778)
2024-06-10
18:30
[f299200d35] part of check-in [3dec4b35ec] The aggressive rounding behavior is now only accessible using the internal sqlite3MPrintf() function. The round() SQL function uses that internal function so it can access the aggressive rounding. But ordinary extensions and the format() SQL function cannot. Update: Superseded by round-up-2 branch (check-in: [3dec4b35ec] user: drh branch: round-up, size: 53223)
18:10
[6bd4464622] part of check-in [a1b57288d7] More aggressive rounding behavior for the round() function only. Format() still uses the classic behavior, and the same behavior exhibited by printf() in glibc. (check-in: [a1b57288d7] user: drh branch: round-up, size: 53360)
14:31
[cedda44359] part of check-in [4a790d3b28] Change the rounding behavior of float point to decimal conversions such that if the next digit is 4 but the value is within one epsilon of the next digit being 5 and if the epsilon is small compared the number of digits to be rendered, then go ahead and round up anyhow, even though the correct behavior would be to round down. (check-in: [4a790d3b28] user: drh branch: round-up, size: 52701)
12:29
[5d1a0134cf] part of check-in [43f376ce92] Check-in contained undesired test code. (check-in: [43f376ce92] user: drh branch: mistake, size: 51796)
2024-03-19
10:58
[a94fdaa08e] part of check-in [8af5878138] Fix a problem involving infinities int the Kahan-Babushka-Neumaier summation algorithm. (check-in: [8af5878138] user: drh branch: branch-3.45, size: 50327)
10:46
[1e2754e628] part of check-in [0984e5cd25] Fix a problem involving infinities int the Kahan-Babushka-Neumaier summation algorithm. (check-in: [0984e5cd25] user: drh branch: branch-3.44, size: 50217)
10:16
[4d6d7ebfe6] part of check-in [45d272ef38] Fix another problem from [c63e26e705f5e967] involving infinities and the Kahan-Babushka-Neumaier summation algorithm. Problem reported by forum post 23b8688ef4. (check-in: [45d272ef38] user: drh branch: trunk, size: 51716)
2024-03-06
21:00
[c346e2a811] part of check-in [6055715feb] Work around obscure floating point issue seen with older versions of MSVC. (check-in: [6055715feb] user: mistachkin branch: branch-3.45, size: 50041)
20:24
[f27a17e6e4] part of check-in [42d39f9140] Work around obscure floating point issue seen with older versions of MSVC. (check-in: [42d39f9140] user: mistachkin branch: trunk, size: 51430)
2024-02-28
01:12
[0765014847] part of check-in [2dfc427f67] Always convert 32-bit integer literals into EP_IntValue notation, even if they contain "_" separators. (check-in: [2dfc427f67] user: drh branch: trunk, size: 51321)
2024-02-27
10:52
[7a49c6a544] part of check-in [0e6700f43f] Allow "_" characters to appear between any two digits in an integer, real or hexadecimal SQL literal. (check-in: [0e6700f43f] user: dan branch: trunk, size: 50908)
2024-02-17
03:32
[3ed7ded64e] part of check-in [7fca1bc482] Fix rounding in zero-precision %f and %g printf conversions. Forum post 393708f4a8. This bug was introduced by check-in [32befb224b254639] and first appeared in version 3.43.0. (check-in: [7fca1bc482] user: drh branch: trunk, size: 49932)
2024-01-23
11:20
[88484a62e2] part of check-in [d57407ef59] Add extra checks for the validity of a numeric literal to sqlite3DequoteNumber(). (check-in: [d57407ef59] user: dan branch: digit-separators, size: 50907)
2024-01-22
19:42
[ef37d37768] part of check-in [c063c89b11] Fix a problem in the previous commit with hex literals that start with "0X" instead of "0x". (check-in: [c063c89b11] user: dan branch: digit-separators, size: 50634)
19:38
[25e0b776d5] part of check-in [81a5622946] Allow underscores to occur in hex literals. (check-in: [81a5622946] user: dan branch: digit-separators, size: 50609)
2024-01-20
16:18
[2b274b03f0] part of check-in [401650aacc] Allow "_" characters to appear following any digit in an integer or real SQL literal. (check-in: [401650aacc] user: dan branch: digit-separators, size: 50547)
2023-12-22
15:41
[078f040366] part of check-in [0f22d809a1] Update #ifdef checks in pager.c and util.c to account for [0462a2612d1fc1d0] to resolve the build problem reported in forum post 9819032aac. (check-in: [0f22d809a1] user: stephan branch: trunk, size: 49931)
2023-10-19
13:35
[b22cc9f203] part of check-in [89862c51ad] Simplification to sqlite3GetVarint32() to avoid confusing gcov. (check-in: [89862c51ad] user: drh branch: trunk, size: 49896)
2023-09-15
10:27
[79f084901f] part of check-in [4ce5a03e74] Do not try to convert a double into an unsigned 64-bit integer, as that does not work on all platforms. A double can only be converted into a signed 64-bit integer. (check-in: [4ce5a03e74] user: drh branch: branch-3.43, size: 51586)
2023-09-14
16:45
[e87f66258c] part of check-in [0ab05871ba] According to forum post 9f6db917e1, older MSVC compilers are unable to convert a double directly into an unsigned long long int, but must first go through a signed long long int. Work around this by restricting the range of doubles that are converted into long long integers so that only the lower 63 bits are used. (check-in: [0ab05871ba] user: drh branch: legacy-msvc-workaround, size: 51680)
2023-08-28
12:06
[81f6d47ecd] part of check-in [a0d0f1aafc] Resolve a condition which could cause an is-interrupted db to call its progress callback. (check-in: [a0d0f1aafc] user: stephan branch: trunk, size: 51569)
2023-08-18
15:39
[278b81c3b3] part of check-in [c48f1be8cc] Rename the decimal_sci() function to decimal_exp(). Forum post fa027bb0ab. (check-in: [c48f1be8cc] user: drh branch: trunk, size: 51475)
2023-08-15
12:27
[24f4458bb7] part of check-in [4ae72c8967] Use a dodgy substitute if the INFINITY macro is not available. See forumpost 8e66e19bb9. (check-in: [4ae72c8967] user: drh branch: trunk, size: 51475)
2023-08-10
17:07
[a40062117e] part of check-in [3ed89c344f] Merge latest trunk changes into this branch. (check-in: [3ed89c344f] user: dan branch: wal-shm-exceptions, size: 51415)
2023-08-02
13:45
[b3532a95ad] part of check-in [c4347e4400] Remove an unreachable branch in the ascii-to-floating-point conversion that was added by [e989a37ff9d5b52e]. (check-in: [c4347e4400] user: drh branch: trunk, size: 51033)
2023-08-01
19:10
[d30e9f5655] part of check-in [e989a37ff9] Avoid ASAN warnings when converting over-sized long double values into double. (check-in: [e989a37ff9] user: drh branch: trunk, size: 51096)
2023-07-24
12:59
[987e31e45a] part of check-in [3187ee3f69] Update the latest trunk enhancements into the wal-shm-exceptions branch. (check-in: [3187ee3f69] user: drh branch: wal-shm-exceptions, size: 51287)
2023-07-21
18:38
[c2aa170f2e] part of check-in [5413b02bb6] Avoid a potentially large strlen() in sqlite3DecOrHexToI64(). (check-in: [5413b02bb6] user: drh branch: big-function-text, size: 50905)
2023-07-10
18:05
[161e49e88b] part of check-in [f655d08d01] Merge the latest trunk enhancements into the wal-shm-exceptions branch. (check-in: [f655d08d01] user: drh branch: wal-shm-exceptions, size: 51223)
2023-07-08
17:42
[fea6fffdee] part of check-in [07d95ed60f] Always use the "LL" suffix on 64-bit integer literals. (check-in: [07d95ed60f] user: drh branch: trunk, size: 50841)
14:27
[c2c4c0d780] part of check-in [beab3c9863] Fix harmless scan-build warnings. (check-in: [beab3c9863] user: drh branch: trunk, size: 50838)
2023-07-07
18:49
[672c28c889] part of check-in [b409943af0] Omit the use of memmove() in sqlite3FpDecode() in an attempt to avoid spurious warnings from valgrind. Also makes the code slightly smaller and faster. (check-in: [b409943af0] user: drh branch: trunk, size: 50495)
2023-07-06
17:55
[5b7b61614e] part of check-in [e59cea2d85] Merge all recent trunk enhancements into the wal-shm-exceptions branch. (check-in: [e59cea2d85] user: drh branch: wal-shm-exceptions, size: 50806)
2023-07-05
22:05
[eac357cf07] part of check-in [1d972a690f] This is alternative work-around for the x86 float-point problem that uses "volatile" rather than compile-specific #pragmas. (check-in: [1d972a690f] user: drh branch: fix-dekker-with-volatile, size: 50424)
19:56
[49a7335c22] part of check-in [7b4c16731e] Improved comments on the work-around to the GCC x86 floating point wonkiness. (check-in: [7b4c16731e] user: drh branch: trunk, size: 50892)
18:59
[c8a4c99081] part of check-in [5d9e936480] Work around for an apparent GCC bug. See forum post ee7278611394034c for details. (check-in: [5d9e936480] user: drh branch: trunk, size: 50264)
15:34
[059f3d7f7f] part of check-in [28f57b34e6] Make the order of operations explicit for the error term of Dekker double-precision multiply. (check-in: [28f57b34e6] user: drh branch: trunk, size: 50006)
14:42
[04958d3937] part of check-in [bfe6432a46] Simplification of the dekkerMul2() subroutine. (check-in: [bfe6432a46] user: drh branch: trunk, size: 49997)
2023-07-03
18:18
[5c6a3c7a88] part of check-in [b7850fd480] Enhance sqlite3AtoF() so that it honors the USELONGDOUBLE test-control. Enable the test/atof1.test module on non-intel platforms. (check-in: [b7850fd480] user: drh branch: fp-to-decimal-refactor, size: 50076)
14:56
[452f1e5e4a] part of check-in [02ae6caff1] Whether or not to use the long-double floating point conversion technique is now a test-control setting. (check-in: [02ae6caff1] user: drh branch: fp-to-decimal-refactor, size: 50981)
12:58
[97f9a7a1a2] part of check-in [9435ed76cd] New test cases for floating-point conversions. (check-in: [9435ed76cd] user: drh branch: fp-to-decimal-refactor, size: 50945)
11:39
[44855f67ac] part of check-in [40285d6310] Final clean-up of the idea of using Dekker double-precision floating computations to improve accuracy. (check-in: [40285d6310] user: drh branch: fp-to-decimal-branch1, size: 50903)
10:35
[78be1d552e] part of check-in [25d1ad6df1] Squeeze as many bits as we can out of normalization. (check-in: [25d1ad6df1] user: drh branch: fp-to-decimal-branch1, size: 50517)
10:18
[e920f80d42] part of check-in [2994caf588] Faster Dekker multiplication that removes the restriction on input magnitude. (check-in: [2994caf588] user: drh branch: fp-to-decimal-branch1, size: 50514)
10:00
[eae1eeaf2d] part of check-in [d3c4880710] Fix one constant in the normalization logic. Improved error output from atof1.test. (check-in: [d3c4880710] user: drh branch: fp-to-decimal-branch1, size: 50540)
09:07
[1feadae2da] part of check-in [4fa6938dac] Replace the dodgy error estimating logic in the previous check-in with full-up Dekker double-double multiplication, and this idea works much better. There are still a few inaccuracies, but it is much closer. (check-in: [4fa6938dac] user: drh branch: fp-to-decimal-branch1, size: 50540)
00:51
[7e716e44a2] part of check-in [d9a883d7d8] The fptest(X) routine used for exploring another idea for improving fp-to-decimal conversion without the use of long double. (check-in: [d9a883d7d8] user: drh branch: fp-to-decimal-branch2, size: 49065)
00:40
[12741de996] part of check-in [7022433338] An idea for improving accuracy of fp-to-decimal conversion for systems that do not have "long double". Does not quite work. Retained only for documentation purposes. (check-in: [7022433338] user: drh branch: fp-to-decimal-branch1, size: 49845)
2023-07-01
20:21
[d68692390b] part of check-in [ce06982f88] This check-in adds the use of "long double" to sqlite3FpDecode() which when run on x86 using a compiler that translates "long double" into binary80, causes all legacy tests to pass. But on a system where "long double" is just an alias for "double", some of the tests are still failing. (check-in: [ce06982f88] user: drh branch: fp-to-decimal-refactor, size: 49082)
17:56
[87e6762b02] part of check-in [6f1122e942] Improved rounding policy. (check-in: [6f1122e942] user: drh branch: fp-to-decimal-refactor, size: 49037)
15:23
[9cddb6a7b3] part of check-in [76ab8ae809] Improved response to Infinity and NaN. Remove the termporary fpdecode() function. (check-in: [76ab8ae809] user: drh branch: fp-to-decimal-refactor, size: 48979)
14:03
[fc7991df98] part of check-in [1138b8d16e] Progress towards fixing corner-case floating-point formatting issues. (check-in: [1138b8d16e] user: drh branch: fp-to-decimal-refactor, size: 49230)
2023-06-30
23:18
[f7efa26a9c] part of check-in [c134d423e7] Begin cutting over sqlite3FpDecode() into printf(). The code in this check-in gets a lot right, but there are still some formatting discrepencies. (check-in: [c134d423e7] user: drh branch: fp-to-decimal-refactor, size: 49097)
19:41
[4a7343a01d] part of check-in [27871140ca] Add decimal rounding to the sqlite3FpDecode() routine. (check-in: [27871140ca] user: drh branch: fp-to-decimal-refactor, size: 49033)
18:35
[447fd1d981] part of check-in [e923405e44] Experiments with a new algorithm for converting ieee-754 binary64 numbers into decimal. (check-in: [e923405e44] user: drh branch: fp-to-decimal-refactor, size: 48375)
11:51
[9ee7bc23c0] part of check-in [1be0646a2c] Make the sum() function less precise and slower in order to avoid harmless signed integer overflow UBSAN warnings from OSS-Fuzz. (check-in: [1be0646a2c] user: drh branch: trunk, size: 47833)
2023-06-28
12:02
[a6b41c67ff] part of check-in [a915f15a91] Enhance the SUM() aggregate (and related AVG() and TOTAL()) so that the running sum is accurate to about 100 bits. (check-in: [a915f15a91] user: drh branch: trunk, size: 47694)
11:46
[4264102045] part of check-in [4943e8a181] Improved accuracy of floating-point conversion constants as suggested by forum post 598d32f6135c41c1. (check-in: [4943e8a181] user: drh branch: trunk, size: 46818)
2023-06-26
19:35
[649837c415] part of check-in [439fc00fee] Use ideas from T. J. Dekker in "A Floating-Point Technique for Extending the Available Precision" (1971-07-26) to enhance the accuracy of the SUM() aggregate function in cases where input magnitudes vary wildly. (check-in: [439fc00fee] user: drh branch: extended-precision-fp, size: 47674)
2023-06-07
08:40
[6f9d2f278d] part of check-in [26c1bb4bd9] Add a C-source spell-checking facility. make misspell (on Nix) (check-in: [26c1bb4bd9] user: larrybr branch: spell-check, size: 46798)
2023-04-27
18:28
[d4bcb56047] part of check-in [85e00c9e68] Add support for hexadecimal integer literals in JSON. (check-in: [85e00c9e68] user: drh branch: json5, size: 46814)
2023-04-19
12:08
[b1d8d87c4c] part of check-in [f6e6c5f94c] Attempt to suppress harmless compiler warnings reported by forum post fc98845c06. (check-in: [f6e6c5f94c] user: drh branch: trunk, size: 46786)
2023-04-12
18:57
[2106b5176a] part of check-in [cfb3dba9b0] Small performance enhancement to integer-to-text conversion. (check-in: [cfb3dba9b0] user: drh branch: trunk, size: 46786)
2023-03-22
20:21
[be2f2ba283] part of check-in [96ec830645] Add the SQLITE_ENABLE_NAN_INF compile-time option which makes the following behavior changes: (1) sqlite3_value_double(NULL) returns NaN, (2) SQLite preserves NaN values rather than converting them to NULL. (3) CAST statements understand "NaN" and "Inf" and make the right conversions. (4) Non-standard JSON is never generated by SQLite JSON routines, but those routines will accept floating point literals "NaN", "Inf", and "-Inf". (check-in: [96ec830645] user: drh branch: nan-inf, size: 47550)
2023-01-12
19:51
[3ff7bc2b48] part of check-in [0546165159] Fix sqlite3_prepare() so that it only invokes the progress handler on every N-th call to sqlite3ProgressCheck(), where N is the progress handler step count. Also fix faulty asserts exposed by the ability to interrupt in the middle of sqlite3_prepare(). (check-in: [0546165159] user: drh branch: progress-during-prepare, size: 46745)
13:25
[c4941abc63] part of check-in [79636f2d80] Attempt to provide a mechanism to do early termination of long-running statement preparation by invoking the progress handler at strategic points during sqlite3_parpare(). This experiment shows that sqlite3_prepare() might leave the resulting prepared statement uninitialized following an interrupt. (check-in: [79636f2d80] user: drh branch: progress-during-prepare, size: 46657)
2023-01-03
18:51
[0e5cf9062a] part of check-in [284382d378] Avoid an unnecessary call to strlen() in the sqlite3VdbeMemStringify() routine, for a performance increase and size reduction. (check-in: [284382d378] user: drh branch: trunk, size: 46290)
2022-12-02
20:32
[313f3154e2] part of check-in [5580083364] Enhance the sqlite3_stmt_scanstatus() API and add sqlite3_stmt_scanstatus_v2(). For creation of easier to read query performance reports. (check-in: [5580083364] user: dan branch: scanstatus_v2, size: 46102)
2022-11-29
17:52
[4e42c338d9] part of check-in [f64a224244] Change the handling of hwtime.h to make it easier to compile performance measurement builds that make use of hwtime.h. This should not affect productions builds. (check-in: [f64a224244] user: drh branch: trunk, size: 46052)
2022-09-02
17:25
[0be191521f] part of check-in [54251f81eb] Fix an assert() associated with the dbsqlfuzz error at [8372468bb5d8922c]. (check-in: [54251f81eb] user: drh branch: trunk, size: 45883)
2022-01-24
16:47
[602fe229f3] part of check-in [1f7fa46126] Remove many redundant checks for sqlite3.mallocFailed now that any OOM should cause Parse.nErr to be non-zero. (check-in: [1f7fa46126] user: drh branch: trunk, size: 45850)
15:34
[0d0b9c58f1] part of check-in [6a45d8fe8b] Make it so that any Parse object is always linked into the database conenction while it is active. Hence, an OOM will cause Parse.nErr to be set. (check-in: [6a45d8fe8b] user: drh branch: trunk, size: 45761)
2021-12-24
20:22
[89e51820bc] part of check-in [b518ce7743] Add the sqlite3_error_offset() interface. Use it in the CLI to provide better context for error messages. (check-in: [b518ce7743] user: drh branch: improved-error-context, size: 45710)
2021-12-09
01:28
[569349b0bd] part of check-in [88b43d798c] Add SQLITE_TESTCTRL_LOGEST and enhance the LogEst utility program. Improvements to testability of bloom filters. (check-in: [88b43d798c] user: drh branch: bloom-filter, size: 46121)
2021-12-06
20:16
[6dfbd0bd19] part of check-in [8a9036ee61] Omit the OP_FilterInit opcode. Use OP_Blob to initialize each Bloom filter instead. Size the Bloom filter based on sqlite_stat1 size estimates rather than a run-time measurement for improved testability. (check-in: [8a9036ee61] user: drh branch: bloom-filter, size: 46192)
2021-10-20
17:58
[30df8356e2] part of check-in [0ae8dd132d] Enabled the testcase() macros under SQLITE_DEBUG. (check-in: [0ae8dd132d] user: drh branch: trunk, size: 46755)
2021-10-07
13:40
[34b6b9a82e] part of check-in [9af863f065] Protect all accesses to the FuncDef.u and Expr.u unions using nearby assert()s or branches. (check-in: [9af863f065] user: drh branch: trunk, size: 46932)
2021-09-10
21:28
[a14724ed2a] part of check-in [fdb20e9ee4] If an EXCEPTION_IN_PAGE_ERROR exception is caught, make the underlying OS error code available via sqlite3_system_errno(). (check-in: [fdb20e9ee4] user: dan branch: wal-shm-exceptions, size: 46966)
2021-09-06
11:44
[3f27a1eae0] part of check-in [b3cfe23bec] Restore the use of system isnan() that was removed by check-in [ea748edecb261f2b]. See forum thread d7c530ac587f59e6. (check-in: [b3cfe23bec] user: drh branch: trunk, size: 46886)
2021-08-18
12:05
[eafc8cfeb6] part of check-in [b9b0dcd5af] Rename the Column.eType field to Column.eCType - with an extra "C". (check-in: [b9b0dcd5af] user: drh branch: trunk, size: 46584)
2021-08-07
23:16
[e9fd5c4746] part of check-in [e5d6512aa1] Refactor sqlite3.magic into sqlite3.eOpenState. (check-in: [e5d6512aa1] user: drh branch: trunk, size: 46581)
2021-08-06
15:26
[c5dd51a245] part of check-in [0914270078] Fix harmless compiler warnings. Omit redundant copies of os_common.h and hwtime.h from the amalgamation. (check-in: [0914270078] user: drh branch: trunk, size: 46533)
2021-08-02
18:03
[b18a971c89] part of check-in [8b781dcaf6] Refactor field names in the Column object, zCnName and zCnColl, to make them unique and thus easier to find amid all the other code. (check-in: [8b781dcaf6] user: drh branch: trunk, size: 46524)
2021-07-30
23:30
[6ca9cf268d] part of check-in [d2da62a9df] Recognize certain standard datatypes ("INT", "INTEGER", "REAL", "TEXT", and "BLOB") and if a column has one of those datatypes, store the type part of the bit-field information in the Column structure to save space. (check-in: [d2da62a9df] user: drh branch: trunk, size: 46520)
18:39
[b2cb568393] part of check-in [980f7292af] Avoid clownfeet in the names columns when the column names are quoted in the original CREATE TABLE statement. (check-in: [980f7292af] user: drh branch: trunk, size: 46399)
2021-01-01
18:23
[41c7a72da1] part of check-in [41f45c8e89] Size reduction and performance increase in sqlite3Prepare(). (check-in: [41f45c8e89] user: drh branch: trunk, size: 45796)
2020-08-27
16:28
[c0c7977de7] part of check-in [aafb7a2104] Apply the same fix for ticket [9eda2697f5cc1aba] to text-to-integer conversions that was done for floating point conversions by check-in [1c76f1d8ec0937a2]. (check-in: [aafb7a2104] user: drh branch: trunk, size: 45561)
2020-07-30
17:14
[c8bf30c435] part of check-in [905752da98] Fix unreachable branches. (check-in: [905752da98] user: drh branch: larger-databases, size: 45543)
2020-07-29
16:18
[04699ce6ba] part of check-in [a80ae2c98b] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c98b] user: drh branch: typos, size: 45132)
12:23
[7aa9304892] part of check-in [1d69eee8b0] Fix signed/unsigned compiler warnings. (check-in: [1d69eee8b0] user: drh branch: larger-databases, size: 45551)
2020-07-22
20:12
[9ae0b62965] part of check-in [75599a9731] Improvements to rootpage bounds checking during schema parse. (check-in: [75599a9731] user: drh branch: rootpage-bounds-check, size: 45546)
13:38
[58bf59fb09] part of check-in [9ce1710aad] Continuing work toward supporting unsigned 32-bit page numbers. (check-in: [9ce1710aad] user: drh branch: larger-databases, size: 45522)
2020-07-21
18:25
[98ae6ee205] part of check-in [14eed318aa] Add the sqlite3Int64ToText() routine and use it to convert integers to text, as it is much faster than the generic text formatter. (check-in: [14eed318aa] user: drh branch: trunk, size: 45125)
2020-07-02
17:05
[c0bacc165f] part of check-in [6ffd17b668] Minor simplification to the 32-bit varint decoder. (check-in: [6ffd17b668] user: drh branch: trunk, size: 44609)
2020-04-06
18:16
[3b6cedf7a0] part of check-in [1e4b6a9398] Performance improvement for column name lookup. (check-in: [1e4b6a9398] user: drh branch: trunk, size: 44619)
2020-02-07
01:12
[a285c1e026] part of check-in [5a877221ce] Simplify the code by removing the unsupported and undocumented SQLITE_HAS_CODEC compile-time option (check-in: [5a877221ce] user: drh branch: trunk, size: 44377)
2020-01-17
19:14
[d035b09df9] part of check-in [7584e4b649] Fix #ifdefs so it compiles cleanly with all SQLITE_OMIT compile-time options. Update compile-time option testing. (check-in: [7584e4b649] user: drh branch: trunk, size: 44426)
2020-01-08
12:17
[e5f3971160] part of check-in [1c76f1d8ec] When doing a text-to-double conversion on a BLOB with an odd number of bytes and assuming a UTF16 encoding, ignore the last byte. Ticket [9eda2697f5cc1aba]. (check-in: [1c76f1d8ec] user: drh branch: trunk, size: 44384)
2019-12-13
23:38
[2c92bc706b] part of check-in [052fdf5e58] Fix an utterly harmless "applying zero offset to null pointer" UB warning in sqlite3AtoF(): (check-in: [052fdf5e58] user: drh branch: trunk, size: 44366)
2019-11-09
14:38
[66b22af7b3] part of check-in [de6e6d6846] Make sure the WITH stack in the Parse object is disabled following an error. (check-in: [de6e6d6846] user: drh branch: trunk, size: 44328)
2019-10-10
23:58
[10d910e04a] part of check-in [73a8211473] Fix harmless compiler warning seen with MSVC. (check-in: [73a8211473] user: mistachkin branch: trunk, size: 44305)
2019-08-08
15:24
[fffdfa627b] part of check-in [1e17ea2fd1] 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. (check-in: [1e17ea2fd1] user: drh branch: omit-stat3, size: 44183)
2019-06-10
23:45
[aef606a78b] part of check-in [5705016229] A string consisting of a single '.' is not a floating point literal with extra text at the end. Fix for ticket [412bba9b22c677da] (check-in: [5705016229] user: drh branch: trunk, size: 44201)
2019-06-07
22:26
[11e0e5e438] part of check-in [67a68af557] 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]. (check-in: [67a68af557] user: drh branch: trunk, size: 44189)
2019-05-30
13:47
[bdbb67d370] part of check-in [e95138f5f4] Optimization to the round() SQL function for large input values without a fractional part. (check-in: [e95138f5f4] user: drh branch: trunk, size: 43873)
00:46
[8d95c976b3] part of check-in [ea748edecb] Smaller and faster sqlite3IsNaN() implementation makes deserialization of floating point values much faster. (check-in: [ea748edecb] user: drh branch: trunk, size: 43799)
2019-05-29
21:18
[e278abeb8c] part of check-in [c1d8a3f654] Much faster implementation of applyNumericAffinity() by avoiding some unnecessary calls to sqlite3Atoi64(). (check-in: [c1d8a3f654] user: drh branch: trunk, size: 45275)
2019-05-25
18:17
[2f07256354] part of check-in [81721aa545] Performance enhancement in sqlite3AtoF(). About 8% faster. (check-in: [81721aa545] user: drh branch: trunk, size: 45007)
17:41
[94464ad0f6] part of check-in [2e2ebad3ab] Use "long double" literals to initialize an array of "long double" objects. (check-in: [2e2ebad3ab] user: drh branch: trunk, size: 44954)
2019-05-10
12:14
[4c0669e042] part of check-in [3cc55e09e6] Fix the previous check-in [db9acef14d492121] so that the amalgamation build works for systems for which lack HAVE_ISNAN. (check-in: [3cc55e09e6] user: drh branch: trunk, size: 44945)
2019-04-17
12:07
[5061987401] part of check-in [5df2bf62fc] Small performance improvement on the variable-length integer decoder: sqlite3GetVarint(). (check-in: [5df2bf62fc] user: drh branch: trunk, size: 44989)
11:34
[415fcd6ed9] part of check-in [7ac500fb5a] Faster and smaller implementation of sqlite3StrICmp(). (check-in: [7ac500fb5a] user: drh branch: trunk, size: 45031)
2019-04-13
04:01
[e12939405e] part of check-in [0b6ae032c2] Enforce the SQLITE_LIMIT_COLUMN limit on virtual tables. (check-in: [0b6ae032c2] user: drh branch: trunk, size: 44954)
2019-04-09
21:32
[92276bde29] part of check-in [ea2d4b65e2] Improved reporting of SQLITE_TOOBIG errors while parsing. (check-in: [ea2d4b65e2] user: drh branch: trunk, size: 44929)
2019-04-05
17:22
[276d937c78] part of check-in [08b29672c5] Improved comment on the sqlite3FaultSim() function. No changes to code. (check-in: [08b29672c5] user: drh branch: trunk, size: 44556)
2019-01-11
13:32
[82a2e3f691] part of check-in [5547f39de9] The keywords TRUE and FALSE should only act as boolean literal values if unquoted. (check-in: [5547f39de9] user: drh branch: trunk, size: 44019)
2018-01-27
14:25
[d9eb0a6c4a] part of check-in [19f5c14000] Changes to avoid a harmless UB warning from clang. (check-in: [19f5c14000] user: drh branch: trunk, size: 43837)
2018-01-26
18:37
[8628fe1daa] part of check-in [ace0644a1a] 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. (check-in: [ace0644a1a] user: drh branch: trunk, size: 43464)
2018-01-17
21:14
[ef4a5f904d] part of check-in [469b96be53] Alternative implementation for the internal sqlite3Pow10() utility for MSVC, which is more accurate on that platform. (check-in: [469b96be53] user: drh branch: trunk, size: 43435)
2017-12-26
14:46
[7315e97a8d] part of check-in [fd2e0e7a77] Faster and smaller implementation of sqlite3AtoF() based on a suggestion from Cezary H. Noweta. (check-in: [fd2e0e7a77] user: drh branch: trunk, size: 43093)
2017-11-06
09:34
[d01fa6f45b] part of check-in [66d98310b9] Fix a harmless compiler warning from Xcode 9.1. (check-in: [66d98310b9] user: drh branch: trunk, size: 42887)
2017-09-20
10:47
[5168013cfd] part of check-in [7f2bd4ff45] Improved resolution of large integer values in "CAST(x AS NUMERIC)". (check-in: [7f2bd4ff45] user: drh branch: trunk, size: 42884)
2017-09-12
15:05
[ece10cb34b] part of check-in [9780b23ca3] Fix an error in [b22cdd67] that can cause a negative infinity to be (rarely) reported as a positive infinity. (check-in: [9780b23ca3] user: drh branch: trunk, size: 42965)
13:27
[c2e1f79f6a] part of check-in [b22cdd6734] Changes to (hopefully) get the build working with recent Intel compilers. (check-in: [b22cdd6734] user: drh branch: trunk, size: 42963)
2017-08-17
20:53
[773843506c] part of check-in [a42a438cbb] Use the __builtin_clzll() function of gcc to improve the performance and reduce the size of the sqlite3LogEst() routine. (check-in: [a42a438cbb] user: drh branch: trunk, size: 42813)
2017-05-03
17:44
[fc081ec6f6] part of check-in [05eba9e3a5] Fix the sqlite3GetInt32() function so that it correctly returns 0 on a zero-length input string. (check-in: [05eba9e3a5] user: drh branch: trunk, size: 42710)
2017-02-15
15:09
[ca8440ede8] part of check-in [810d29320b] 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. (check-in: [810d29320b] user: drh branch: trunk, size: 42667)
2017-02-09
17:12
[3d2ce209a8] part of check-in [798fb9d70d] 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. (check-in: [798fb9d70d] user: drh branch: trunk, size: 42801)
2017-01-03
20:01
[a88b0466fd] part of check-in [f8ebeec211] Use the CLANG_VERSION macro to control clang-specific features. (check-in: [f8ebeec211] user: drh branch: gnu-safe-math, size: 43149)
17:33
[8c3d2aa11b] part of check-in [82cbebb8ee] Make use of the __buildin_OP_overflow() functions from GCC when doing 64-bit signed integer arithmetic. (check-in: [82cbebb8ee] user: drh branch: gnu-safe-math, size: 43114)
2016-12-23
13:52
[1534060bc0] part of check-in [aa23d7eaf6] Add check to prevent a VList from growing after pointers to labels have been taken. (check-in: [aa23d7eaf6] user: drh branch: VList, size: 42667)
03:59
[adf5ff9e45] part of check-in [68ecafa142] 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. (check-in: [68ecafa142] user: drh branch: VList, size: 41936)
2016-12-07
15:49
[e68e8ced73] part of check-in [f360818737] Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. (check-in: [f360818737] user: drh branch: trunk, size: 39331)
2016-09-20
22:04
[3e2da61018] part of check-in [db3ebd7c52] 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] (check-in: [db3ebd7c52] user: drh branch: trunk, size: 39338)
2016-04-28
14:15
[810ec3f22e] part of check-in [33e6274727] Use comments to mark several branches as optimizations. No changes to code. (check-in: [33e6274727] user: drh branch: trunk, size: 39660)
03:52
[41cac9db94] part of check-in [fcf85bfe50] Remove an unnecessary conditional from the sqlite3DecOrHexToI64() routine. (check-in: [fcf85bfe50] user: drh branch: trunk, size: 39634)
00:32
[1d2f9cc9ea] part of check-in [46d4ffff3b] 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. (check-in: [46d4ffff3b] user: drh branch: trunk, size: 39662)
2016-04-27
15:24
[d0899604c3] part of check-in [0065fe97cb] 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. (check-in: [0065fe97cb] user: drh branch: trunk, size: 39446)
02:35
[562f7a85d9] part of check-in [3adfe9f3e6] Remove still more unnecessary branches from sqlite3AtoF(). (check-in: [3adfe9f3e6] user: drh branch: trunk, size: 38643)
2016-04-26
23:14
[7ea35eef53] part of check-in [dd69e53cb0] Further simplifications to sqlite3AtoF() to remove unneeded branches. (check-in: [dd69e53cb0] user: drh branch: trunk, size: 38689)
21:02
[8ae5e89468] part of check-in [a9d007494c] Remove an unnecessary line from the sqlite3AtoF() routine. (check-in: [a9d007494c] user: drh branch: trunk, size: 38761)
2016-04-11
19:01
[187a0a2aaa] part of check-in [9efe2265b1] Performance optimization to sqlite3Dequote() and its callers. (check-in: [9efe2265b1] user: drh branch: trunk, size: 38841)
2016-04-05
23:39
[1950946521] part of check-in [da81d7afeb] Remove an unnecessary branch in the sqlite3LogEstToInt() routine. (check-in: [da81d7afeb] user: drh branch: trunk, size: 39023)
2016-03-22
20:05
[8873d696c9] part of check-in [605eba4a75] The sqlite3_column_decltype() routine should return NULL, not an empty string, if the column has no declared type. (check-in: [605eba4a75] user: drh branch: trunk, size: 39046)
2016-03-21
11:57
[cf7dce85ab] part of check-in [a6b6c6c466] Improved comments. No logical changes to code. (check-in: [a6b6c6c466] user: drh branch: sqlite_system_errno, size: 38818)
11:38
[1612669137] part of check-in [7d49998d57] Do a better job of capturing all system errno values regardless of when they occur. (check-in: [7d49998d57] user: drh branch: sqlite_system_errno, size: 38545)
2016-03-17
16:01
[c3fc5193e6] part of check-in [6782c87b37] Experimental implementation of the sqlite3_system_errno() interface. (check-in: [6782c87b37] user: drh branch: sqlite_system_errno, size: 38332)
2016-03-10
14:28
[34ef7be420] part of check-in [f96ec84d60] Use #ifdefs to remove code that is unreachable in some configurations, replacing it with an assert(). (check-in: [f96ec84d60] user: drh branch: trunk, size: 38003)
2016-03-05
14:00
[12800a93f0] part of check-in [dca7b23354] Fix an incorrect #ifdef on sqlite3LogEstToInt(). (check-in: [dca7b23354] user: drh branch: trunk, size: 37745)
2016-03-04
21:18
[9da9684882] part of check-in [251424c586] Fix an assert() in sqlite3VarintLen(), even though it is impossible to hit in SQLite due to the way sqlite3VarintLen() is used. (check-in: [251424c586] user: drh branch: trunk, size: 37743)
2016-02-29
15:53
[a64585a74a] part of check-in [842b211627] 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. (check-in: [842b211627] user: drh branch: schema-storage, size: 37742)
2016-02-25
21:19
[6ed9d7bdd3] part of check-in [832c237fcb] 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. (check-in: [832c237fcb] user: drh branch: trunk, size: 37559)
2016-02-19
13:20
[38c06684c9] part of check-in [ba9c6827d0] Add an SQLITE_DISABLE_INTRINSIC #ifdef to the sqlite3Put4Byte() function. (check-in: [ba9c6827d0] user: drh branch: trunk, size: 37247)
2016-02-15
00:34
[8073bbdab9] part of check-in [3201fbcc51] 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. (check-in: [3201fbcc51] user: drh branch: many-app-functions, size: 37159)
2016-02-05
13:38
[49ce0a6530] part of check-in [0a802e96ab] Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority cases where db is guaranteed to be not NULL. (check-in: [0a802e96ab] user: drh branch: oom-handling, size: 37043)
2016-01-22
17:48
[72d40df0a5] part of check-in [7323175337] Add the sqlite3TokenInit() utility function. (check-in: [7323175337] user: drh branch: trunk, size: 37041)
2015-11-21
17:27
[e802e8e311] part of check-in [198d191b2f] Fix over-length source code lines. No logic changes. (check-in: [198d191b2f] user: drh branch: trunk, size: 36908)
2015-09-01
22:29
[fc61236710] part of check-in [adf9fefb00] Performance improvement in sqlite3VarintLen(). (check-in: [adf9fefb00] user: drh branch: trunk, size: 36888)
2015-07-29
21:47
[bc9dd64b5d] part of check-in [f0075d735a] Add SQLITE_DISABLE_INTRINSIC define to disable use of intrinsic functions (e.g. for certain older compilers and/or platforms). (check-in: [f0075d735a] user: mistachkin branch: trunk, size: 36905)
2015-07-03
17:54
[46358a204b] part of check-in [030f60a7ba] Enable use of the __builtin_bswap32() only with GCC 4.3 and higher. (check-in: [030f60a7ba] user: mistachkin branch: trunk, size: 36817)
2015-06-30
17:28
[075c2878fb] part of check-in [fe144dd73f] Make use of the _byteswap_ushort() and _byteswap_ulong() compiler intrinsics for MSVC, when available. (check-in: [fe144dd73f] user: mistachkin branch: trunk, size: 36769)
13:28
[89bfe78b46] part of check-in [79ff36b717] 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. (check-in: [79ff36b717] user: drh branch: bswap-functions, size: 36529)
12:47
[99396e3703] part of check-in [bc27ebd7f7] Make use of htonl() and __builtin_bswap32() for faster implementations of sqlite3Get4byte() and sqlite3Put4byte(). (check-in: [bc27ebd7f7] user: drh branch: bswap-functions, size: 36661)
03:18
[a5471ac483] part of check-in [8001aa52bd] Implement sqlite3Strlen30() using strlen() from the C library. (check-in: [8001aa52bd] user: drh branch: trunk, size: 36184)
2015-05-12
23:28
[bb07b2e79e] part of check-in [fbf29b453f] Improve API armor integration. Fix harmless compiler warnings. (check-in: [fbf29b453f] user: mistachkin branch: get-trace, size: 36241)
2015-04-18
04:45
[a6431c9280] part of check-in [691cc201e1] Disregard leading zeros when converting strings to 32-bit integers. (check-in: [691cc201e1] user: drh branch: trunk, size: 36229)
2015-01-10
16:49
[98a7627ca4] part of check-in [9e92a5ed5a] 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. (check-in: [9e92a5ed5a] user: drh branch: trunk, size: 36197)
2014-10-24
00:35
[3b627daa45] part of check-in [c297a84bc6] Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. (check-in: [c297a84bc6] user: drh branch: api-armor, size: 36203)
2014-09-06
16:39
[4006c01772] part of check-in [e62aab5e92] Fix typos in comments. No code changes. (check-in: [e62aab5e92] user: peter.d.reid branch: trunk, size: 36025)
2014-08-22
18:48
[068dcd2635] part of check-in [a929be5519] Performance enhancement in sqlite3PutVarint(). (check-in: [a929be5519] user: drh branch: trunk, size: 36024)
18:00
[524127b3c3] part of check-in [cf561d1f0b] Split the sqlite3Error() routine into sqlite3Error() and sqlite3ErrorWithMsg(), for a slight size reduction and performance increase. (check-in: [cf561d1f0b] user: drh branch: trunk, size: 36436)
2014-08-15
22:37
[fec4914db4] part of check-in [c8ade949d4] Aborted merge. (check-in: [c8ade949d4] user: numist branch: obsolete, size: 35289)
2014-07-23
13:40
[3076bdd51c] part of check-in [6c6f0de59b] 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. (check-in: [6c6f0de59b] user: drh branch: hex-literal, size: 36193)
01:56
[eff2c1e5a4] part of check-in [19054339c4] Test cases for hex literals. (check-in: [19054339c4] user: drh branch: hex-literal, size: 35976)
01:26
[9d87de90e5] part of check-in [34a1f38b7a] Add support for parsing C-style hexadecimal literals. (check-in: [34a1f38b7a] user: drh branch: hex-literal, size: 35974)
2014-05-16
14:17
[049fe1d3c0] part of check-in [0d43a7ad9a] 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. (check-in: [0d43a7ad9a] user: drh branch: trunk, size: 34708)
2014-04-30
13:19
[2b5fb283a1] part of check-in [b9f91317c3] Fix long-standing typos in comments. (check-in: [b9f91317c3] user: drh branch: experimental-costs, size: 34098)
2014-02-10
12:59
[c46c90459e] part of check-in [010c48f671] Faster implementation for sqlite3MulInt64(). (check-in: [010c48f671] user: drh branch: trunk, size: 34104)
2014-01-24
22:58
[15ac2627f5] part of check-in [87bf60637e] Fixes for various clang warnings. (check-in: [87bf60637e] user: drh branch: trunk, size: 33994)
2013-12-13
16:23
[e71f19b272] part of check-in [9d347f547e] Simplication and optimization of error message handling. (check-in: [9d347f547e] user: drh branch: trunk, size: 33959)
2013-12-05
16:41
[76ed051929] part of check-in [e19eead8c9] Fix two potential (and apparently harmless) shift overflows discovered by the -fcatch-undefined-behavior option of clang. (check-in: [e19eead8c9] user: drh branch: trunk, size: 33996)
2013-12-01
01:18
[c1d47254d8] part of check-in [c85e0c546e] Fix typos in the header comment on the sqlite3Atoi64() routine. (check-in: [c85e0c546e] user: drh branch: trunk, size: 33959)
2013-11-26
15:45
[cbe054290f] part of check-in [6f53fc7106] 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. (check-in: [6f53fc7106] user: drh branch: trunk, size: 33959)
2013-10-07
16:53
[2f0c9b1f88] part of check-in [8e78557a40] Try to remember statistics from ANALYZE using LogEst instead of u64. (check-in: [8e78557a40] user: drh branch: log-stats, size: 33974)
2013-10-05
18:16
[2fa6c821d2] part of check-in [66c4a251d6] 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. (check-in: [66c4a251d6] user: drh branch: row-size-est, size: 33978)
2013-09-13
16:36
[7f3e35432d] part of check-in [870c030b4e] Change the PRAGMA parser to use a binary search for the pragma name. Also: Minor performance enhancement to sqlite3DbFree() and to the token dequoter. (check-in: [870c030b4e] user: drh branch: trunk, size: 32051)
2013-03-28
11:40
[f566b51380] part of check-in [39534b4baa] Adjustment to an extreme corner case in the sqlite3Atoi64() routine. (check-in: [39534b4baa] user: drh branch: trunk, size: 32044)
2013-03-20
12:04
[550f2b6a5c] part of check-in [5b22053f91] 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] (check-in: [5b22053f91] user: drh branch: trunk, size: 32041)
2012-06-19
00:45
[0af2e515dc] part of check-in [699b792c6a] Improved rounding accuracy on text-to-float conversions. (check-in: [699b792c6a] user: drh branch: trunk, size: 31426)
2012-03-19
17:42
[4f6cfad661] part of check-in [036395c0a8] Add additional test cases to e_insert.test. Update evidence marks. no changes to core code. (check-in: [036395c0a8] user: drh branch: trunk, size: 31417)
2012-02-22
16:58
[906731099c] part of check-in [fd8d744027] Change the SQLITE_FCNTL_PRAGMA file-control so that it can return a string value. (check-in: [fd8d744027] user: drh branch: file-control-pragma, size: 31393)
2012-01-05
18:33
[d124c1f192] part of check-in [24db54bd49] Fix an incorrect assert() on the sqlite3FileSuffix3() function. (check-in: [24db54bd49] user: drh branch: trunk, size: 31668)
2012-01-03
14:50
[ad06374bc9] part of check-in [d73e93cfdc] Make sure filenames passed into sqlite3OsOpen() always have the extra zero-terminators needed by sqlite3_uri_parameter(). (check-in: [d73e93cfdc] user: drh branch: trunk, size: 31657)
2012-01-02
12:41
[9e07bd67df] part of check-in [d9761f15a1] Fix the build so that it works when SQLITE_ENABLE_8_3_NAMES=1. (check-in: [d9761f15a1] user: drh branch: trunk, size: 31392)
2011-12-23
00:07
[19ae3ee0df] part of check-in [83d26b9a91] 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. (check-in: [83d26b9a91] user: drh branch: trunk, size: 31389)
2011-12-16
00:33
[343508d359] part of check-in [34a0483605] 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. (check-in: [34a0483605] user: drh branch: nx-devkit, size: 31449)
2011-11-04
12:05
[01238e2b0f] part of check-in [5e1d247e5b] Change a memcpy() in sqlite3FileSuffix() to memmove() on the grounds that the source and destination may overlap. (check-in: [5e1d247e5b] user: dan branch: trunk, size: 31409)
2011-10-17
20:41
[df83983bd5] part of check-in [4becc47eb4] Avoid 32-bit integer overflow when evaluating the exponent of a floating point value during ascii to binary conversion. (check-in: [4becc47eb4] user: drh branch: trunk, size: 31408)
12:14
[a982d7ee3c] part of check-in [59bb999c8b] Performance improvement for ascii to floating-point conversions with very large exponents. (check-in: [59bb999c8b] user: drh branch: trunk, size: 31388)
2011-07-21
21:29
[06302ffd2b] part of check-in [ae83dac701] Compile with the SQLITE_ENABLE_8_3_NAME macro set to 2 to force 8+3 filenames to be on all the time. (check-in: [ae83dac701] user: drh branch: trunk, size: 31238)
2011-05-18
02:41
[0f33bbbdfc] part of check-in [4f7e7b44f2] Remove unreachable branches from the 8.3 filename logic. (check-in: [4f7e7b44f2] user: drh branch: trunk, size: 31066)
2011-05-17
20:36
[5f4ba293a4] part of check-in [96d6098560] 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". (check-in: [96d6098560] user: drh branch: trunk, size: 31072)
2011-04-22
19:37
[914e860d21] part of check-in [b8a8132e71] Add the start of the "uri-filenames" feature. (check-in: [b8a8132e71] user: dan branch: uri, size: 30198)
2011-04-11
15:35
[465fe10aab] part of check-in [f18f5f5893] Fix a signed integer overflow problem in the testcase() macro. (check-in: [f18f5f5893] user: drh branch: trunk, size: 30311)
2011-03-08
13:06
[cd997077ba] part of check-in [c829868aa2] Fix two compiler warnings. No functional code changes. (check-in: [c829868aa2] user: drh branch: trunk, size: 30296)
02:38
[f6c87805d3] part of check-in [2d5800bd8c] Fix additional cases of possible signed integer overflow, especially with regard to negation. (check-in: [2d5800bd8c] user: drh branch: trunk, size: 30291)
2011-03-05
21:41
[0e04fb3891] part of check-in [55fc25fdab] 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. (check-in: [55fc25fdab] user: drh branch: trunk, size: 30036)
20:59
[c849a1e77d] part of check-in [abf2139412] 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. (check-in: [abf2139412] user: drh branch: trunk, size: 30103)
13:54
[77572d1f37] part of check-in [04abab71ec] Fix an instance of signed arithmetic overflow and an one bit-shift overflow. Mark six other signed arithmetic overflow locations that need fixing. (check-in: [04abab71ec] user: drh branch: trunk, size: 27914)
2010-11-23
18:59
[ab1c924264] part of check-in [2031974b60] 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. (check-in: [2031974b60] user: drh branch: trunk, size: 27888)
2010-09-30
17:33
[cd78524566] part of check-in [ca154f97a5] Do correct affinity transformations on floating point values which have a decimal point at the beginning or end of the mantissa. Ticket [3998683a16a7076e08f5]. (check-in: [ca154f97a5] user: drh branch: experimental, size: 27678)
16:51
[0cca1dff4d] part of check-in [43fef1cab6] Changes to remove sqlite3FitsIn64Bits(). (check-in: [43fef1cab6] user: shaneh branch: experimental, size: 26968)
00:50
[7a5fb16c0b] part of check-in [14eed3a0e0] 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. (check-in: [14eed3a0e0] user: drh branch: experimental, size: 27969)
2010-08-31
15:27
[5f5f4db4e7] part of check-in [53b0c03fd3] 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. (check-in: [53b0c03fd3] user: drh branch: trunk, size: 28466)
2010-03-09
14:41
[32aebf04c1] part of check-in [115c978b6b] Minor changes to silence compiler warnings on various MSVC builds. (check-in: [115c978b6b] user: shaneh branch: trunk, size: 28155)
2010-03-03
16:02
[c076b2e381] part of check-in [0354ab279f] Fix some extra instances of the constants addressed by [83e47ca006]. (check-in: [0354ab279f] user: dan branch: trunk, size: 28154)
15:49
[2f10789f4b] part of check-in [527c71d54e] Fix some extra instances of the problematic constant in util.c on the 3.6.1 branch. (check-in: [527c71d54e] user: dan branch: branch-3.6.1, size: 24591)
15:34
[4dc882cebd] part of check-in [96bfaf9c8c] Merge change [83e47ca006] into the 3.6.1 branch. (check-in: [96bfaf9c8c] user: dan branch: branch-3.6.1, size: 24627)
15:18
[23c2e2a05a] part of check-in [83e47ca006] Factor out constant expressions in sqlite3GetVarint() to work around nuisance warning messages from the RVT compiler. (check-in: [83e47ca006] user: drh branch: trunk, size: 28190)
08:18
[e4b015ed56] part of check-in [80c64e16e3] Fix another instance of the same warning-inducing expression in util.c. (check-in: [80c64e16e3] user: dan branch: mistake, size: 27419)
08:12
[e2e8af5883] part of check-in [587109c81a] Silence a compiler warning by using a constant value instead of a constant expression that some compilers mistakenly believe causes bitshift overflow. (check-in: [587109c81a] user: dan branch: mistake, size: 27390)
2010-02-25
23:44
[0a28d634d4] part of check-in [0f6291bbbd] Fix to the database connection validity checker. Other test coverage enhancements. (check-in: [0f6291bbbd] user: drh branch: trunk, size: 27758)
14:44
[0828dd2ff3] part of check-in [a255059786] Add some technically unnecessary variable initializations to silence compiler warnings. (check-in: [a255059786] user: dan branch: branch-3.6.1, size: 24195)
02:32
[56008ded7b] part of check-in [46f406b202] 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]. (check-in: [46f406b202] user: drh branch: branch-3.6.22, size: 27298)
2010-02-24
21:44
[5a15aa0cc1] part of check-in [1168763d2c] Add testcase() macros beside each sqlite3_log() call to make sure it is tested with both logging enable and disabled. (check-in: [1168763d2c] user: drh branch: trunk, size: 27667)
2010-02-23
20:11
[57256361d9] part of check-in [edea3bb740] Continuing improvements to error reporting and the sqlite3_log() routine. (check-in: [edea3bb740] user: drh branch: trunk, size: 27709)
17:36
[32a7a4ce39] part of check-in [7c4cca6d1a] Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. (check-in: [7c4cca6d1a] user: drh branch: trunk, size: 27165)
01:47
[5b5353ff94] part of check-in [6d910245ad] Add the ".log" command to the shell. This shows that some errors are logged multiple times and other errors are never logged at all. (check-in: [6d910245ad] user: drh branch: trunk, size: 29289)
2010-02-22
19:32
[88b16cd614] part of check-in [a8076aede3] Log all error messages if logging is enabled. (check-in: [a8076aede3] user: drh branch: trunk, size: 29283)
2010-01-13
17:39
[aa0b1da8f7] part of check-in [56f232d562] Make the sqlite3IsNaN() function a macro that evaluates to FALSE when compiled with SQLITE_OMIT_FLOATING_POINT. (check-in: [56f232d562] user: drh branch: trunk, size: 29281)
04:22
[4f0fb8561b] part of check-in [dfc6595d34] Comment out unused code when SQLITE_OMIT_FLOATING_POINT is selected. Added testcase() macros to boundary conditions in util.c routines. (check-in: [dfc6595d34] user: drh branch: trunk, size: 29206)
2009-11-10
01:30
[ad4f03079b] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 28912)
2009-09-07
03:48
[59d4e9456b] part of check-in [2a74ae1969] Attempt to handle numbers at the limits of the IEEE 754 range better (nan.test now passes). (check-in: [2a74ae1969] user: shane branch: trunk, size: 30006)
02:46
[7404ac0781] part of check-in [438e1577d0] Changes to internal AtoF to improve "accuracy" when measured against built-in GCC atof(). (check-in: [438e1577d0] user: shane branch: trunk, size: 29640)
2009-08-21
02:13
[efb5f8e533] part of check-in [f084f5a8ba] Updated sqlite3AtoF() that performs slightly better with GCC, and significantly better with MSVC. (check-in: [f084f5a8ba] user: shane branch: trunk, size: 28464)
2009-07-28
16:44
[c2416f60ae] part of check-in [4571aa9e91] 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) (check-in: [4571aa9e91] user: danielk1977 branch: trunk, size: 27208)
2009-06-24
10:26
[861d5b5c58] part of check-in [d8fc373fef] Remove the sqlite3Assert() function. The ALWAYS() and NEVER() macros call assert() directly when compiled with SQLITE_DEBUG. (CVS 6809) (check-in: [d8fc373fef] user: drh branch: trunk, size: 27199)
2009-06-17
16:20
[a7e981e032] part of check-in [392559465d] Use caution to avoid integer overflow when doing real to integer affinity operations. Ticket #3922. (CVS 6776) (check-in: [392559465d] user: drh branch: trunk, size: 28010)
2009-06-10
11:07
[44e9f8b4c1] part of check-in [c27f23bbaf] Remove a NEVER() that can sometimes occur on an OOM error. (CVS 6744) (check-in: [c27f23bbaf] user: drh branch: trunk, size: 28007)
2009-06-05
14:17
[8ff385a6b4] part of check-in [38b20327a8] 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) (check-in: [38b20327a8] user: drh branch: trunk, size: 28014)
2009-05-31
21:21
[a9719d309f] part of check-in [ee9a144d44] Code simplifications to facilitate coverage testing following the recent changes to the Expr object. (CVS 6697) (check-in: [ee9a144d44] user: drh branch: trunk, size: 27812)
2009-05-28
01:00
[bb2bdd6dd0] part of check-in [4ac2bdfbb4] 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) (check-in: [4ac2bdfbb4] user: drh branch: trunk, size: 27788)
2009-05-27
10:31
[f3ee188f05] part of check-in [7cb1c3ba07] 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) (check-in: [7cb1c3ba07] user: drh branch: trunk, size: 27788)
2009-05-06
19:03
[71c2d9d6be] part of check-in [93bdbc5e2f] Fix compiler warning found with gcc -Wextra. (CVS 6614) (check-in: [93bdbc5e2f] user: drh branch: trunk, size: 27765)
2009-05-03
20:23
[40fb962de1] part of check-in [a612299092] Changes to facility full coverage testing of util.c. (CVS 6597) (check-in: [a612299092] user: drh branch: trunk, size: 27732)
2009-05-01
21:13
[b19471b83b] part of check-in [12bcb03d9b] 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) (check-in: [12bcb03d9b] user: drh branch: trunk, size: 26332)
2009-04-17
15:18
[828c552a22] part of check-in [97c6ea2368] Get the behavior of SQLITE_HAVE_ISNAN right. It was reversed in check-in (6517). Ticket #3809. (CVS 6518) (check-in: [97c6ea2368] user: drh branch: trunk, size: 26061)
11:57
[3990f949a4] part of check-in [54d23521c3] 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) (check-in: [54d23521c3] user: drh branch: trunk, size: 26060)
2009-03-01
22:29
[469d74f5bf] part of check-in [a2373e5409] Suppress some compiler warnings (where possible). Ticket #3696. (CVS 6331) (check-in: [a2373e5409] user: drh branch: trunk, size: 25485)
2009-02-04
03:59
[1363f64351] part of check-in [5cef400023] 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) (check-in: [5cef400023] user: shane branch: trunk, size: 25487)
2009-01-20
16:53
[f1ac1bcd3e] part of check-in [1041abd678] 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) (check-in: [1041abd678] user: danielk1977 branch: trunk, size: 25494)
2009-01-10
16:15
[7b1e3987e1] part of check-in [64a8dcd8d6] 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) (check-in: [64a8dcd8d6] user: drh branch: trunk, size: 25483)
2008-12-10
22:15
[ea62608f66] part of check-in [258722b617] Fix an issue with the new sqlite3Strlen30() introduced by check-in (6007). Additional casts for compiler warnings. (CVS 6011) (check-in: [258722b617] user: drh branch: trunk, size: 24510)
21:19
[27f60e2b0a] part of check-in [ea01d43788] Additional work at eliminating silly compiler warnings. (CVS 6010) (check-in: [ea01d43788] user: drh branch: trunk, size: 24269)
2008-12-09
03:55
[6e997af379] part of check-in [59ae002068] Get rid of more silly compiler warnings. (CVS 5996) (check-in: [59ae002068] user: drh branch: trunk, size: 24272)
2008-11-17
19:18
[b9a5d1c4c1] part of check-in [8009220c36] Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914) (check-in: [8009220c36] user: danielk1977 branch: trunk, size: 24200)
2008-07-28
19:34
[afe659ccc0] part of check-in [e48f9697e9] 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) (check-in: [e48f9697e9] user: drh branch: trunk, size: 24195)
2008-07-24
17:06
[06c5476b44] part of check-in [cb1876d8dc] 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) (check-in: [cb1876d8dc] user: drh branch: trunk, size: 24155)
2008-07-22
05:15
[f94d11f931] part of check-in [e20f2b8c6a] Added comment on floating point precision compile option for MSVC. (CVS 5448) (check-in: [e20f2b8c6a] user: shane branch: trunk, size: 24099)
2008-07-11
16:19
[a8f80412a5] part of check-in [a8a2fe45b2] Improved NaN testing for highly optimized GCC on x86. Tickets #3202 and #3194. (CVS 5396) (check-in: [a8a2fe45b2] user: drh branch: trunk, size: 23760)
16:15
[172ebad4eb] part of check-in [d7e2f0d2d4] Additional test coverage for the btree module. Remove the failsafe() macro and replace it with ALWAYS() and NEVER(). (CVS 5395) (check-in: [d7e2f0d2d4] user: drh branch: trunk, size: 23735)
2008-07-10
00:32
[06dbffe992] part of check-in [636cd72329] 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) (check-in: [636cd72329] user: drh branch: trunk, size: 24231)
2008-07-09
13:28
[fbfb7fe434] part of check-in [8aae4fe7e7] Begin adding the failsafe() macro. (CVS 5383) (check-in: [8aae4fe7e7] user: drh branch: trunk, size: 24195)
2008-07-08
14:52
[e202291456] part of check-in [ee93150878] Improved enforcement of the SQLITE_LIMIT_LENGTH limit. (CVS 5368) (check-in: [ee93150878] user: drh branch: trunk, size: 23735)
2008-07-06
00:21
[aec21ebb1e] part of check-in [aa5be9ee93] Fail to build if the -ffast-math option is specified in GCC. Ticket #3202. (CVS 5345) (check-in: [aa5be9ee93] user: drh branch: trunk, size: 23382)
2008-06-13
18:24
[920d6d5dfd] part of check-in [a03c5af115] Progress toward implementation of sqlite3_config() and a rework of the mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) (check-in: [a03c5af115] user: drh branch: trunk, size: 23279)
2008-06-12
02:16
[512027b58e] part of check-in [59f72425eb] Removed all C++ style comments. Ticket #3172. (CVS 5207) (check-in: [59f72425eb] user: shane branch: trunk, size: 25802)
2008-05-19
15:54
[43277088f8] part of check-in [bc90787583] 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) (check-in: [bc90787583] user: drh branch: trunk, size: 25695)
2008-05-13
16:41
[28fb90e03f] part of check-in [6a6b943736] 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) (check-in: [6a6b943736] user: drh branch: trunk, size: 25638)
2008-05-11
11:07
[4f0125fa1b] part of check-in [3ff2f1cdc9] 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) (check-in: [3ff2f1cdc9] user: drh branch: trunk, size: 26118)
2008-05-09
13:47
[99e0f11500] part of check-in [2349ae75df] Back out check-in (5108). The original isnan() implementation is preferred. Ticket #3101 and #3060. (CVS 5109) (check-in: [2349ae75df] user: drh branch: trunk, size: 25869)
03:07
[743a0d5e94] part of check-in [19ee2b3324] Change the implementation of sqlite3IsNaN() so that it works even if compiled using -ffinite-math-only. Tickets #3101 and #3060. (CVS 5108) (check-in: [19ee2b3324] user: drh branch: trunk, size: 25871)
2008-05-01
02:47
[43a77ab792] part of check-in [682dc24dbe] 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) (check-in: [682dc24dbe] user: shane branch: trunk, size: 25444)
2008-04-28
17:41
[a3907b05dc] part of check-in [be10f5dda6] Modified Varint32 functions to disable code for single-byte handling as it is already handled by their respective macro forms. (CVS 5062) (check-in: [be10f5dda6] user: shane branch: trunk, size: 22199)
16:55
[6b030399aa] part of check-in [07fd9a8c6c] Change the implementation of the NaN recognition to be more cross-platform. Ticket #3089. (CVS 5060) (check-in: [07fd9a8c6c] user: drh branch: trunk, size: 21757)
2008-04-16
00:49
[943caa4071] part of check-in [d35dea059e] Make sure the database connection mutex is held before calling sqlite3SafetyOn() or sqlite3SafetyOff(). Ticket #3059. (CVS 5016) (check-in: [d35dea059e] user: drh branch: trunk, size: 21620)
2008-04-14
14:34
[8b17ea7ad2] part of check-in [b8bc5f3a83] Cleanup some #ifdefs to make their meaning clearly. No logical changes. (CVS 5001) (check-in: [b8bc5f3a83] user: drh branch: trunk, size: 21530)
2008-04-11
19:37
[719bcd7f08] part of check-in [a70e958756] Faster implementation of hexToInt that uses not branches. Ticket #3047. (CVS 4992) (check-in: [a70e958756] user: drh branch: trunk, size: 21516)
2008-04-05
18:41
[02c57c302e] part of check-in [b2517a7d8f] Add the sqlite3PutVarint32 routine as an alternative to sqlite3PutVarint. Gives 0.5% speed increase. (CVS 4968) (check-in: [b2517a7d8f] user: drh branch: trunk, size: 21655)
2008-04-04
15:12
[9a435395c8] part of check-in [92d49499ee] Smaller and hopefully faster routine for converting blob literals into binary. (CVS 4967) (check-in: [92d49499ee] user: drh branch: trunk, size: 21233)
2008-03-19
13:03
[dba9e04121] part of check-in [57805b588f] 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) (check-in: [57805b588f] user: drh branch: trunk, size: 20996)
2008-01-23
03:03
[c56e41ed47] part of check-in [5375ad6b4b] Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when compiling without -DSQLITE_DEBUG=1. (CVS 4744) (check-in: [5375ad6b4b] user: drh branch: trunk, size: 21041)
2008-01-22
14:50
[ca0e3820ce] part of check-in [83ca4fc7dc] 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) (check-in: [83ca4fc7dc] user: drh branch: trunk, size: 20525)
2008-01-18
14:08
[deda8c5a40] part of check-in [0e50c0200a] 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) (check-in: [0e50c0200a] user: drh branch: trunk, size: 20525)
2007-10-23
15:39
[05f31144bb] part of check-in [7e30fd6a09] Floating point and 64-bit integer constants store in the virtual machine opcodes in binary, not as text. Performance improvement. Ticket #2733. (CVS 4507) (check-in: [7e30fd6a09] user: drh branch: trunk, size: 20530)
2007-09-01
10:01
[49263637e0] part of check-in [7571345d20] Allow sqlite3GetInt32 to recognize 10-digit decimal numbers as 32-bit. (CVS 4362) (check-in: [7571345d20] user: danielk1977 branch: trunk, size: 20496)
2007-08-21
19:33
[3f9c0387b5] part of check-in [9287276191] 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) (check-in: [9287276191] user: drh branch: trunk, size: 20346)
10:44
[23251cee78] part of check-in [fbbd5bda54] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (check-in: [fbbd5bda54] user: drh branch: trunk, size: 20354)
2007-08-16
10:09
[0273ba16db] part of check-in [77b1671351] More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) (check-in: [77b1671351] user: danielk1977 branch: trunk, size: 20378)
04:30
[c831d17623] part of check-in [deb7ecd65f] 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) (check-in: [deb7ecd65f] user: drh branch: trunk, size: 20340)
2007-06-26
00:37
[9e81d417fc] part of check-in [96190cf13d] 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) (check-in: [96190cf13d] user: drh branch: trunk, size: 21231)
2007-06-25
17:28
[f58a68d062] part of check-in [5b3a490649] Rework the string to integer conversion logic to address tickets #2344 and #2454. (CVS 4123) (check-in: [5b3a490649] user: drh branch: trunk, size: 21233)
2007-05-16
17:50
[80cdf6b68d] part of check-in [d5db8be368] Avoid passing a negative value to isspace() in a couple places. (CVS 4016) (check-in: [d5db8be368] user: danielk1977 branch: trunk, size: 20142)
17:28
[b99afc6940] part of check-in [93f811ec74] Change a few selected functions to macros to speed things up. (CVS 4015) (check-in: [93f811ec74] user: danielk1977 branch: trunk, size: 20132)
2007-05-15
16:51
[a44710b94d] part of check-in [f84d9dab11] 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) (check-in: [f84d9dab11] user: drh branch: trunk, size: 20273)
2007-05-08
20:37
[4f6bbcec2b] part of check-in [e9f56ead05] Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958) (check-in: [e9f56ead05] user: drh branch: trunk, size: 20207)
2007-05-05
11:48
[5eff5cec4a] part of check-in [16041116aa] Refactoring. Split btreeInt.h off from btree.c. Split malloc.c off from util.c. Expect much more to follow. (CVS 3925) (check-in: [16041116aa] user: drh branch: trunk, size: 20207)
2007-05-04
13:15
[9f9fec5dc7] part of check-in [ba4845b32b] 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) (check-in: [ba4845b32b] user: drh branch: trunk, size: 44133)
2007-04-06
02:32
[b634432537] part of check-in [a776d93cca] Test coverage improvements. Over 90% of branches are now executed in both directions. (CVS 3820) (check-in: [a776d93cca] user: drh branch: trunk, size: 44059)
2007-03-31
22:33
[0102b6257c] part of check-in [82b7a6f05c] Remove unreachable code from util.c. (CVS 3784) (check-in: [82b7a6f05c] user: drh branch: trunk, size: 44062)
2007-03-27
13:36
[8e8180ee55] part of check-in [c8a8a189a8] More strict aliasing fixes. The single source file library now runs successfully with -fstrict-alias. (CVS 3725) (check-in: [c8a8a189a8] user: drh branch: trunk, size: 43703)
2007-03-26
22:05
[729a528fc3] part of check-in [0b832e218e] Modify sources to that they can be combined into a single sqlite3.c source file. Eliminate all type-pruned pointer warnings. (CVS 3722) (check-in: [0b832e218e] user: drh branch: trunk, size: 43711)
2007-03-19
17:44
[f6d739fc25] part of check-in [7dc7658887] 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) (check-in: [7dc7658887] user: danielk1977 branch: trunk, size: 43678)
2007-03-15
15:33
[5fd552a3e8] part of check-in [7180874592] Check for multiple calls to sqlite3FailedMalloc(). Ignore the second and subsequent calls. (CVS 3691) (check-in: [7180874592] user: danielk1977 branch: trunk, size: 43680)
2006-09-15
07:28
[91d4cb1894] part of check-in [ba579ddc43] 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) (check-in: [ba579ddc43] user: drh branch: trunk, size: 43630)
2006-07-26
01:39
[5409031819] part of check-in [35fd67d7a0] Initial attempt at making sqlite3_interrupt() work even when called from a separate thread. (CVS 3335) (check-in: [35fd67d7a0] user: drh branch: trunk, size: 43602)
2006-07-11
12:40
[c8ada8bab6] part of check-in [eb91612f46] Fix a NULL pointer deference following malloc failure. Bug discovered by klocwork. (CVS 3328) (check-in: [eb91612f46] user: drh branch: trunk, size: 43612)
2006-06-27
13:20
[410adf9074] part of check-in [5612b28705] Changes so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309) (check-in: [5612b28705] user: drh branch: trunk, size: 43587)
2006-04-08
19:14
[ca6ee72772] part of check-in [9682f84401] Variable declarations should come before code. Ticket #1763. (CVS 3171) (check-in: [9682f84401] user: drh branch: trunk, size: 43575)
2006-04-04
01:54
[137e676582] part of check-in [4342b49971] Changes to get SQLite running on machines that use the EBCDIC character set. (CVS 3161) (check-in: [4342b49971] user: drh branch: trunk, size: 43561)
2006-03-03
19:12
[59389ed717] part of check-in [cdca3383c5] Ignore leading spaces on text to numeric conversions. Ticket #1662. Fixes to test cases broken by the recent changes to round(). (CVS 3118) (check-in: [cdca3383c5] user: drh branch: trunk, size: 42258)
2006-02-24
02:53
[f3f004c2b6] part of check-in [4b22e4b847] Remove unused parameters on internal APIs. Suppress warnings from CodeWarrior. (CVS 3110) (check-in: [4b22e4b847] user: drh branch: trunk, size: 42196)
2006-02-14
10:48
[8aa4f443a2] part of check-in [f4150c29df] Changes so that test_async.c works with memory management turned on. (CVS 3093) (check-in: [f4150c29df] user: danielk1977 branch: trunk, size: 42201)
2006-02-06
21:22
[405f46fef0] part of check-in [6f5eb74fd9] 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) (check-in: [6f5eb74fd9] user: drh branch: trunk, size: 41168)
13:59
[36ce845aa1] part of check-in [3f0a0ff197] Update the per-thread bytes allocated counter with the number of bytes actually allocated, not the number requested. Ticket #1660. (CVS 3056) (check-in: [3f0a0ff197] user: danielk1977 branch: trunk, size: 40984)
2006-01-23
15:39
[82ee598519] part of check-in [8c7e18c3f2] Fix a bug in pager.c that was overwriting freed memory. Comment changes in util.c. (CVS 3002) (check-in: [8c7e18c3f2] user: drh branch: trunk, size: 41169)
13:00
[8c2e824e0b] part of check-in [6385628edd] Fix additional compiler warnings. Tickets #1615, #1616, #1627 (CVS 2994) (check-in: [6385628edd] user: drh branch: trunk, size: 41179)
2006-01-20
17:56
[2510e04016] part of check-in [b7bdac0afd] Fix some compiler warnings. (CVS 2983) (check-in: [b7bdac0afd] user: drh branch: trunk, size: 41062)
2006-01-19
07:18
[14f1f842ca] part of check-in [a628d84d31] Fix a bug with internally saving cursors open on index tables. Also increase coverage of util.c and btree.c. (CVS 2976) (check-in: [a628d84d31] user: danielk1977 branch: trunk, size: 41052)
2006-01-18
18:22
[3f09c6ffb1] part of check-in [c7b9d50d0a] Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974) (check-in: [c7b9d50d0a] user: danielk1977 branch: trunk, size: 41070)
17:25
[b916d21774] part of check-in [e1ad9df1cf] 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) (check-in: [e1ad9df1cf] user: drh branch: trunk, size: 41001)
16:51
[be92fe7252] part of check-in [ac090f2ab3] Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) (check-in: [ac090f2ab3] user: danielk1977 branch: trunk, size: 41008)
15:39
[6279cd70ac] part of check-in [4de5c52920] Fix compilation error when neither MEMDEBUG or ENABLE_MEMORY_MANAGEMENT is enabled. (CVS 2971) (check-in: [4de5c52920] user: danielk1977 branch: trunk, size: 40346)
15:25
[28f399a6e3] part of check-in [e0b022e5b2] Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970) (check-in: [e0b022e5b2] user: danielk1977 branch: trunk, size: 40300)
2006-01-17
15:36
[25e867296b] part of check-in [62dd242778] Fix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG. (CVS 2964) (check-in: [62dd242778] user: danielk1977 branch: trunk, size: 39820)
2006-01-16
15:32
[60adb2a04e] part of check-in [36b0325965] Fix problems compiling with memory-management enabled. Ticket #1619. (CVS 2960) (check-in: [36b0325965] user: danielk1977 branch: trunk, size: 39812)
2006-01-15
11:39
[0d0dc8279d] part of check-in [1944d92b53] Rollback any open write-transaction when a shared-cache connection is closed. (CVS 2947) (check-in: [1944d92b53] user: danielk1977 branch: trunk, size: 39868)
2006-01-13
06:33
[b26be916ed] part of check-in [dd70595542] Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936) (check-in: [dd70595542] user: danielk1977 branch: trunk, size: 39864)
2006-01-12
01:25
[1d751152ab] part of check-in [a8c74febec] Improve performance by about 10% by avoiding excess calls to get the thread-specific data. (CVS 2921) (check-in: [a8c74febec] user: drh branch: trunk, size: 39800)
2006-01-11
21:41
[8a147f9609] part of check-in [5d9c6aa964] 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) (check-in: [5d9c6aa964] user: drh branch: trunk, size: 39776)
16:10
[3616a0a1f1] part of check-in [8c26893c65] Ensure the database attached as part of VACUUM can be detached successfully after a malloc() failure. (CVS 2918) (check-in: [8c26893c65] user: danielk1977 branch: trunk, size: 39715)
2006-01-10
15:18
[5d5792d4a4] part of check-in [bdd35e9fbb] Updates to the C-API documentation. Change the parameter type of sqlite3_soft_heap_limit to integer. (CVS 2903) (check-in: [bdd35e9fbb] user: drh branch: trunk, size: 39611)
07:14
[264083f0de] part of check-in [bd02a6faef] If compiled with memory-debugging, write garbage to memory when it is freed. Fix for #1594. (CVS 2900) (check-in: [bd02a6faef] user: danielk1977 branch: trunk, size: 39633)
2006-01-09
09:59
[0153015d99] part of check-in [44f8e3139a] Add a runtime interface to enable memory-management features. (CVS 2894) (check-in: [44f8e3139a] user: danielk1977 branch: trunk, size: 39565)
06:29
[9af2eab420] part of check-in [82b81f69c7] Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) (check-in: [82b81f69c7] user: danielk1977 branch: trunk, size: 38930)
2006-01-06
21:52
[8a3ef3c1b3] part of check-in [9d71b7deaf] Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878) (check-in: [9d71b7deaf] user: drh branch: trunk, size: 38758)
14:32
[23d70b1f7e] part of check-in [2529c2e11f] 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) (check-in: [2529c2e11f] user: drh branch: trunk, size: 38720)
06:33
[f79eb05721] part of check-in [752a275487] Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867) (check-in: [752a275487] user: danielk1977 branch: trunk, size: 38780)
2005-12-29
01:11
[a690bbf549] part of check-in [a4c547de83] Add support for DROP TABLE IF EXISTS. (CVS 2843) (check-in: [a4c547de83] user: drh branch: trunk, size: 38645)
2005-12-20
14:38
[8e0e3b1ad4] part of check-in [77a37ceca7] Include sqlite3_release_memory() code when SQLITE_MEMDEBUG is not defined. (CVS 2838) (check-in: [77a37ceca7] user: danielk1977 branch: trunk, size: 38488)
09:19
[7e9ebebb0c] part of check-in [c2c5285442] Add simple tests and fixes for sqlite3_soft_heap_limit() (CVS 2837) (check-in: [c2c5285442] user: danielk1977 branch: trunk, size: 38488)
2005-12-19
14:18
[0ed80dea0c] part of check-in [154282fca5] Add some very simple test cases (and resulting bug fixes) for release_memory(). (CVS 2826) (check-in: [154282fca5] user: danielk1977 branch: trunk, size: 37522)
2005-12-18
08:51
[31edbc07f9] part of check-in [345addaa03] Add the (untested) sqlite3_release_memory() function. (CVS 2825) (check-in: [345addaa03] user: danielk1977 branch: trunk, size: 36961)
2005-12-15
10:50
[8bb5e05536] part of check-in [81a41f6637] Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819) (check-in: [81a41f6637] user: danielk1977 branch: trunk, size: 36221)
10:11
[06ab728430] part of check-in [c1ed79f594] Add the sqlite3_os_routine_set()/get() functions. (CVS 2818) (check-in: [c1ed79f594] user: danielk1977 branch: trunk, size: 36964)
2005-12-12
06:53
[e525154652] part of check-in [1637f37960] Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814) (check-in: [1637f37960] user: danielk1977 branch: trunk, size: 36836)
2005-12-09
14:39
[94c0b99e66] part of check-in [3d177bde71] Define the sqliteMalloc() macro differently to avoid a compiler warning. (CVS 2809) (check-in: [3d177bde71] user: danielk1977 branch: trunk, size: 34554)
14:25
[c77727365c] part of check-in [601c335463] Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808) (check-in: [601c335463] user: danielk1977 branch: trunk, size: 34555)
2005-12-06
12:52
[88ebafb570] part of check-in [e1606658f1] 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) (check-in: [e1606658f1] user: danielk1977 branch: trunk, size: 28034)
2005-10-20
07:28
[48fecbbef4] part of check-in [e261b8b09a] Changes to prevent various compiler warnings. (CVS 2750) (check-in: [e261b8b09a] user: drh branch: trunk, size: 27266)
2005-10-13
02:09
[e10e28d410] part of check-in [a0bdb58468] 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) (check-in: [a0bdb58468] user: drh branch: trunk, size: 27263)
2005-09-17
18:34
[55caaffbb2] part of check-in [0e85af44fa] The sqlite3ReallocOrFree routine should set its pointer to NULL when it fails. (CVS 2715) (check-in: [0e85af44fa] user: drh branch: trunk, size: 27146)
2005-09-16
02:38
[fa99c441e8] part of check-in [4686d64975] Fix a whole host of newly discovered memory leaks the occur after a failure of realloc(). (CVS 2696) (check-in: [4686d64975] user: drh branch: trunk, size: 27154)
2005-08-27
01:51
[5650f6fe5e] part of check-in [7e05b7ca0c] Do not change fields of stale sqlite3 handles. Ticket #1384. (CVS 2626) (check-in: [7e05b7ca0c] user: drh branch: trunk, size: 26831)
2005-08-20
03:03
[f467829758] part of check-in [f786f37a5e] Increased test coverage. Some malloc tests now fail though this is believed to be an instrumentation problem not a real error. (CVS 2604) (check-in: [f786f37a5e] user: drh branch: trunk, size: 26897)
2005-08-13
18:15
[f66b47d937] part of check-in [6b7a4e9752] Provide grave accent quoting of identifiers for MySQL compatibility. Ticket #1337. (CVS 2591) (check-in: [6b7a4e9752] user: drh branch: trunk, size: 26530)
2005-07-20
14:31
[668d31be59] part of check-in [ac669f56c0] Extra memory usage instrumentation added. (CVS 2553) (check-in: [ac669f56c0] user: drh branch: trunk, size: 26424)
2005-06-29
17:24
[1acbe299cb] part of check-in [78cb8a9a17] Check for zero-byte allocations in sqlite3MallocRaw. (CVS 2533) (check-in: [78cb8a9a17] user: drh branch: trunk, size: 26047)
15:33
[1e7fe04761] part of check-in [657d74ebc1] Make sqlite3Malloc always return NULL when the number of bytes to allocate is 0. (CVS 2532) (check-in: [657d74ebc1] user: drh branch: trunk, size: 26024)
2005-06-25
18:42
[54d5b4d56f] part of check-in [17631785f9] Remove the blob(), text() and numeric() functions added in (2524) and replace them with the standard CAST operator. Ticket #1287. (CVS 2527) (check-in: [17631785f9] user: drh branch: trunk, size: 26001)
2005-06-14
16:04
[1cdce9ae9f] part of check-in [3d7ee5b92d] Provide the SQLITE_FILE_HEADER command-line option for changing the text that appears at the beginning of databases. (CVS 2515) (check-in: [3d7ee5b92d] user: drh branch: trunk, size: 25982)
2005-06-06
15:07
[c2de22342a] part of check-in [c1bd0a150c] Handle failures of getcwd() without segfaulting. Ticket #1274. (CVS 2491) (check-in: [c1bd0a150c] user: drh branch: version_2, size: 32110)
15:06
[96008b5260] part of check-in [c1691004d6] Handle failures of getcwd() without segfaulting. Ticket #1274. (CVS 2490) (check-in: [c1691004d6] user: drh branch: trunk, size: 25976)
2005-05-23
13:00
[ae41deda8b] part of check-in [f7b76d02e0] Retain the error string if an error is generated by SSE during a VACUUM. (CVS 2476) (check-in: [f7b76d02e0] user: danielk1977 branch: trunk, size: 26070)
2005-05-22
20:12
[1e1402e711] part of check-in [a39c446726] 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) (check-in: [a39c446726] user: drh branch: trunk, size: 26062)
2005-05-03
12:30
[ac74ac096c] part of check-in [d9418851ce] 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) (check-in: [d9418851ce] user: drh branch: trunk, size: 25906)
2005-03-18
14:03
[02bc275033] part of check-in [f2f31919fd] Remove unused code from util.c. Enhance the trace output in os_unix.c. (CVS 2397) (check-in: [f2f31919fd] user: drh branch: trunk, size: 25766)
2005-03-10
12:35
[a53b6fc6f0] part of check-in [f426c625c4] Fix a #ifdef in util.c. (CVS 2369) (check-in: [f426c625c4] user: drh branch: trunk, size: 25961)
2005-02-01
10:35
[1b7b9a127b] part of check-in [ab85e1d012] Have debugging code handle sqliteMalloc(n) where n<0 in the same way as production. (CVS 2303) (check-in: [ab85e1d012] user: danielk1977 branch: trunk, size: 25975)
2005-01-31
12:56
[5bee9b90b5] part of check-in [5c10ccd8e9] Move sqlite3HashNoCase to hash.c. (CVS 2294) (check-in: [5c10ccd8e9] user: danielk1977 branch: trunk, size: 25945)
2005-01-20
22:48
[a858b93ba0] part of check-in [38401dfbd5] Bug fixes and enhancements entered while on jury recess. (CVS 2246) (check-in: [38401dfbd5] user: drh branch: trunk, size: 26232)
2005-01-17
07:53
[63e8d77659] part of check-in [6244252915] Fix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226) (check-in: [6244252915] user: danielk1977 branch: trunk, size: 26235)
2005-01-13
02:14
[03ba0b0b83] part of check-in [8378455f32] Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204) (check-in: [8378455f32] user: danielk1977 branch: trunk, size: 26244)
2005-01-12
07:15
[4511559caf] part of check-in [319bb4a906] Tests to improve coverage of vdbemem.c. (CVS 2200) (check-in: [319bb4a906] user: danielk1977 branch: trunk, size: 26207)
2005-01-11
15:28
[bf42625f35] part of check-in [ad451a2ddc] Improved test coverage for util.c. (CVS 2194) (check-in: [ad451a2ddc] user: drh branch: trunk, size: 26203)
2004-12-25
01:03
[29f43c4a7b] part of check-in [5fd1f47118] 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) (check-in: [5fd1f47118] user: drh branch: trunk, size: 26217)
2004-11-20
19:18
[4a8db4e97a] part of check-in [519bc9d997] 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) (check-in: [519bc9d997] user: drh branch: trunk, size: 26008)
2004-11-04
04:34
[005fdf2d00] part of check-in [da045bd183] Fix a #ifdef in util.c. Ticket #984. (CVS 2052) (check-in: [da045bd183] user: drh branch: trunk, size: 25723)
2004-11-03
13:59
[1126ae62ee] part of check-in [a82980fd70] More work on optionally removing unused features at compile-time. (CVS 2049) (check-in: [a82980fd70] user: drh branch: trunk, size: 25725)
2004-09-30
13:43
[f4ab796b9d] part of check-in [d0f1dc5898] Allow functions to be created when there are outstanding VMs. (Ticket #926) Fix problems with sqlite3_errcode(). Add tests for sqlite3_errcode(). (CVS 1989) (check-in: [d0f1dc5898] user: drh branch: trunk, size: 25418)
2004-09-25
14:39
[39a6718b22] part of check-in [9ef4c24a9a] Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984) (check-in: [9ef4c24a9a] user: drh branch: trunk, size: 25232)
2004-09-08
20:13
[f9b661a3b8] part of check-in [39755d2166] More changes directed at getting things to work on 64-bit platforms. (CVS 1949) (check-in: [39755d2166] user: drh branch: trunk, size: 26798)
2004-09-06
17:24
[dc00e84eab] part of check-in [3ddf5a9d1c] 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) (check-in: [3ddf5a9d1c] user: drh branch: trunk, size: 26331)
2004-09-05
23:23
[f53a683ff6] part of check-in [dfa9ea89c4] Comment changes and minor code cleanup. (CVS 1940) (check-in: [dfa9ea89c4] user: drh branch: trunk, size: 26327)
2004-08-31
00:52
[d5aaf21154] part of check-in [0a47c8f86d] Combine the implementation of LIKE and GLOB into a single parameterized function. (CVS 1923) (check-in: [0a47c8f86d] user: drh branch: trunk, size: 26330)
2004-08-18
02:10
[e2c631849c] part of check-in [5914a11caa] Avoid creating a TEMP database unless it is absolutely necessary. (CVS 1890) (check-in: [5914a11caa] user: drh branch: trunk, size: 31679)
2004-08-08
20:22
[c1d903777e] part of check-in [b065973898] Make sure the argument to ctype.h macros is always an unsigned character. Ticket #839. (CVS 1881) (check-in: [b065973898] user: drh branch: trunk, size: 31678)
2004-07-15
13:23
[2aacc79b7b] part of check-in [660b89a0fc] Fix the return type on sqliteStrICmp when the input strings are not equal. Ticket #804. (CVS 1794) (check-in: [660b89a0fc] user: drh branch: trunk, size: 31633)
13:08
[48f1e99803] part of check-in [296528b281] Correct return type on sqliteStrICmp() when argument strings differ. Ticket #804. (CVS 1793) (check-in: [296528b281] user: drh branch: version_2, size: 32196)
2004-06-30
12:49
[a373ba2f63] part of check-in [e78b0ff30f] Have the debug version of sqliteRealloc() return partially uninitialised memory in the same way as the non-debug version can. (CVS 1783) (check-in: [e78b0ff30f] user: danielk1977 branch: trunk, size: 31613)
04:02
[b267d0fe10] part of check-in [68ac322137] Improve test coverage of util.c (CVS 1773) (check-in: [68ac322137] user: drh branch: trunk, size: 31602)
02:35
[94796d2b31] part of check-in [6c5c11e07e] Minor fixes for UTF-16 databases. (CVS 1770) (check-in: [6c5c11e07e] user: danielk1977 branch: trunk, size: 31973)
2004-06-25
01:10
[43d0289d49] part of check-in [200cd3baf6] Fix signed integer problems in vxprintf. Ticket #778. Also remove some dead code from util.c. (CVS 1685) (check-in: [200cd3baf6] user: drh branch: trunk, size: 31965)
2004-06-21
08:18
[e31e35d3d7] part of check-in [7a33daef5b] Ensure sqlite3ErrorMsg() is used to report errors during compilation, sqlite3Error() during execution. Also remove unused param from sqlite3VdbeReset() and Finalize(). (CVS 1647) (check-in: [7a33daef5b] user: danielk1977 branch: trunk, size: 36462)
2004-06-19
03:33
[1b3743413e] part of check-in [61819740fe] Update sqlite3_close() API to match documentation. (CVS 1630) (check-in: [61819740fe] user: danielk1977 branch: trunk, size: 36084)
2004-06-18
17:10
[e59ee2afc6] part of check-in [2590fffcaa] Changes to allow libsqlite3.a and libsqlite.a to be both linked into the same program at the same time. (CVS 1621) (check-in: [2590fffcaa] user: drh branch: trunk, size: 36144)
04:24
[9d9ef854e9] part of check-in [39a415eaa6] Optimisation for unicode encoding conversion routines. (CVS 1614) (check-in: [39a415eaa6] user: danielk1977 branch: trunk, size: 36145)
2004-06-16
07:45
[6e93dad9a1] part of check-in [98b48704a1] Fix two more memory leaks. (CVS 1603) (check-in: [98b48704a1] user: danielk1977 branch: trunk, size: 36038)
2004-06-12
00:42
[90375fa253] part of check-in [9b84f2f488] Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572) (check-in: [9b84f2f488] user: danielk1977 branch: trunk, size: 35689)
2004-06-09
14:01
[e8629f04d9] part of check-in [428b685b71] Change the MEMORY_DEBUG macro to SQLITE_DEBUG. (CVS 1546) (check-in: [428b685b71] user: drh branch: trunk, size: 35669)
09:55
[ad379519d8] part of check-in [c634e71f19] Some progress on user-defined collation sequences. (CVS 1544) (check-in: [c634e71f19] user: danielk1977 branch: trunk, size: 35676)
2004-06-06
12:41
[8b36802711] part of check-in [30b81507fc] Performance improvements for LIKE. It is still too slow though. (CVS 1535) (check-in: [30b81507fc] user: danielk1977 branch: trunk, size: 35648)
09:44
[026035fcb4] part of check-in [92337d8f79] 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) (check-in: [92337d8f79] user: danielk1977 branch: trunk, size: 35655)
2004-06-02
00:41
[d3d2f62ec9] part of check-in [b53640ed22] Remove the sqlite3_libencoding() api and the ISO8859 encoding option. (CVS 1523) (check-in: [b53640ed22] user: drh branch: trunk, size: 36991)
2004-05-30
20:46
[3b647719c0] part of check-in [a0db15bba6] Various speed enhancements. (CVS 1498) (check-in: [a0db15bba6] user: drh branch: trunk, size: 36961)
2004-05-28
16:00
[4df9d9b0d9] part of check-in [6661bb5f9c] Factor common code for generating index keys into a procedure. Other speed improvements and bug fixes. (CVS 1487) (check-in: [6661bb5f9c] user: drh branch: trunk, size: 36649)
11:37
[79a813dfc8] part of check-in [4984a130cc] Allow CREATE TABLE and CREATE INDEX on attached databases. (CVS 1483) (check-in: [4984a130cc] user: danielk1977 branch: trunk, size: 36662)
2004-05-27
13:35
[d299404feb] part of check-in [6d552af67c] A couple of test cases and fixes for blob literals. (CVS 1474) (check-in: [6d552af67c] user: danielk1977 branch: trunk, size: 36663)
09:28
[179c1347c7] part of check-in [67a140cf78] Various bugfixes. 68 Test cases still fail. (CVS 1471) (check-in: [67a140cf78] user: danielk1977 branch: trunk, size: 36639)
03:12
[1f6e8febdd] part of check-in [f33d15d95f] Fixes to the MEM changes. The library now links. (CVS 1470) (check-in: [f33d15d95f] user: drh branch: trunk, size: 35995)
01:53
[caef24dcf3] part of check-in [dbdd1a7f31] More MEM changes in the vdbe.c. Still will not compile. (CVS 1469) (check-in: [dbdd1a7f31] user: drh branch: trunk, size: 36006)
2004-05-24
07:04
[4c0adcbc9c] part of check-in [b7155db2b1] Have the vdbe handle strings in the same encoding as the database. (CVS 1445) (check-in: [b7155db2b1] user: danielk1977 branch: trunk, size: 36168)
2004-05-20
11:00
[5cbeb452da] part of check-in [2821767b94] Add some more elements of the new API. (CVS 1416) (check-in: [2821767b94] user: danielk1977 branch: trunk, size: 35837)
2004-05-19
20:41
[35d20bd8d4] part of check-in [34f03ba6a9] Correctly handle 64-bit integers in SQL statements. (CVS 1408) (check-in: [34f03ba6a9] user: drh branch: trunk, size: 34605)
10:34
[b72f775a6c] part of check-in [4e602bb473] Tests for text encoding conversion functions. Also new sqlite3_bindXX APIs. (CVS 1400) (check-in: [4e602bb473] user: danielk1977 branch: trunk, size: 32429)
2004-05-18
22:03
[6d4339b7f0] part of check-in [3ce42e85a2] Remove dead code from util.c (CVS 1396) (check-in: [3ce42e85a2] user: drh branch: trunk, size: 32420)
15:57
[c2e92ba9bb] part of check-in [61bdb53a36] New varint encoding gives a maximum varint length of 9 instead of 10. (CVS 1395) (check-in: [61bdb53a36] user: drh branch: trunk, size: 35046)
2004-05-14
16:50
[f9511ffba7] part of check-in [d4e0933dc7] Optimized varint routines and tests added. (CVS 1380) (check-in: [d4e0933dc7] user: drh branch: trunk, size: 34300)
11:00
[58407b133d] part of check-in [dbfe6e9316] Implement type affinity for table and index records (CVS 1375) (check-in: [dbfe6e9316] user: danielk1977 branch: trunk, size: 32882)
2004-05-11
06:17
[778a8cd03a] part of check-in [16078fe0ea] Minor changes to the vdbe so that more tests pass. (CVS 1352) (check-in: [16078fe0ea] user: danielk1977 branch: trunk, size: 32659)
2004-05-10
10:34
[74ee316594] part of check-in [2242423e31] Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338) (check-in: [2242423e31] user: danielk1977 branch: trunk, size: 32652)
10:05
[06f4728232] part of check-in [05434497ba] Add some functions to serialize and deserialize vdbe values (used by manifest typing). (CVS 1336) (check-in: [05434497ba] user: danielk1977 branch: trunk, size: 32632)
07:17
[da3b43129c] part of check-in [8a66a502ba] Add versions of OP_MakeRecord and OP_Column that use manifest typing (not activated yet). (CVS 1334) (check-in: [8a66a502ba] user: danielk1977 branch: trunk, size: 32626)
2004-05-08
08:23
[0c31a53b84] part of check-in [8af6474c49] 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) (check-in: [8af6474c49] user: danielk1977 branch: trunk, size: 32192)
2004-04-26
14:10
[b2287b07dd] part of check-in [910067a200] Pager tests working. (CVS 1308) (check-in: [910067a200] user: drh branch: trunk, size: 32149)
2004-02-22
17:49
[122bc174f6] part of check-in [9b3bcde153] Code cleanup in the date and time functions. (CVS 1263) (check-in: [9b3bcde153] user: drh branch: trunk, size: 32136)
2004-02-21
19:02
[8fbed02d3d] part of check-in [2756f7af33] Cleanup the printf code to make it smaller and more modular. Fix a memory leak in the new OP_ContextPush opcode. (CVS 1258) (check-in: [2756f7af33] user: drh branch: trunk, size: 32078)
2004-01-07
03:41
[64995b5949] part of check-in [6c858db2c0] Make it safe to call sqliteMalloc() with a request for 0 bytes. Ticket #534. (CVS 1164) (check-in: [6c858db2c0] user: drh branch: trunk, size: 34507)
03:04
[22977a29c8] part of check-in [8371f662d2] Use "long double" to hold intermediate values when doing ascii to binary and binary to ascii conversions of floating point numbers. (CVS 1162) (check-in: [8371f662d2] user: drh branch: trunk, size: 34487)
2004-01-06
01:13
[0e3bf40daf] part of check-in [b8381d9fe9] 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) (check-in: [b8381d9fe9] user: drh branch: trunk, size: 34460)
2003-12-23
02:17
[48631b7f7b] part of check-in [4d9edbc50f] Use a built-in atof() function instead of the one from the library to avoid problems with locale. Ticket #305. (CVS 1144) (check-in: [4d9edbc50f] user: drh branch: trunk, size: 33763)
2003-10-22
22:15
[cc95dd360f] part of check-in [c637caf13f] Comment changes to the lemon parser template. Change some sqliteMalloc() calls to sqliteMallocRaw() for speed. Update the website template. (CVS 1114) (check-in: [c637caf13f] user: drh branch: trunk, size: 32267)
2003-08-26
11:29
[f16efa2d60] part of check-in [eebc82b77d] Fix a bug in sqliteRealloc() that only occurs if there is memory corruption and debugging is enabled. Ticket #421. (CVS 1086) (check-in: [eebc82b77d] user: drh branch: trunk, size: 32336)
2003-07-30
12:34
[9ab0f573d3] part of check-in [da62732554] 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) (check-in: [da62732554] user: drh branch: trunk, size: 32316)
2003-06-05
14:27
[566c778017] part of check-in [1bcaa841a3] Remove unused code from util.c. (CVS 1006) (check-in: [1bcaa841a3] user: drh branch: trunk, size: 31794)
2003-06-02
06:17
[18d16fa317] part of check-in [1276ddb307] Added comments. (CVS 993) (check-in: [1276ddb307] user: jplyon branch: trunk, size: 38204)
2003-05-12
23:06
[8065b78806] part of check-in [39a3e403f0] Make sure hash functions always return non-negative. (CVS 969) (check-in: [39a3e403f0] user: drh branch: trunk, size: 38015)
2003-04-18
17:45
[87635cfdff] part of check-in [4ded1965eb] Fix for ticket #297 - bug in sqliteSortCompare(). (CVS 917) (check-in: [4ded1965eb] user: drh branch: trunk, size: 38022)
2003-04-16
02:17
[13c338a7d0] part of check-in [4326b52a39] Simplify the number processing code. Fix for ticket #281. (CVS 910) (check-in: [4326b52a39] user: drh branch: trunk, size: 38034)
2003-03-31
13:36
[8953c612a0] part of check-in [e80afe75b3] Minor follow-on changes to the recent ATTACH patch. (CVS 892) (check-in: [e80afe75b3] user: drh branch: trunk, size: 38053)
02:12
[96178ddf8a] part of check-in [1d3fc97721] 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) (check-in: [1d3fc97721] user: drh branch: trunk, size: 38031)
2003-02-16
22:21
[73b668d1ed] part of check-in [75ba78280f] Added test code to check for file descriptor leaks. All regression tests pass now on both win2k and linux. (CVS 868) (check-in: [75ba78280f] user: drh branch: trunk, size: 35069)
2003-01-29
14:06
[757875a366] part of check-in [162b259188] The callback-free API is now working, though much more testing is need. (CVS 853) (check-in: [162b259188] user: drh branch: trunk, size: 35001)
2003-01-14
00:44
[e23f8ffc65] part of check-in [7ea46e7064] Make the GLOB work write with upper-case characters. Ticket #226. (CVS 831) (check-in: [7ea46e7064] user: drh branch: trunk, size: 35007)
2003-01-12
18:02
[354336da4a] part of check-in [52d5007f64] Initial check-in of the code for the new sqlite_set_authorizer() API function. The code is mostly untested at this point. (CVS 827) (check-in: [52d5007f64] user: drh branch: trunk, size: 35036)
2003-01-02
14:43
[e2d108842e] part of check-in [db745e87dc] Code optimizations to help the library run faster. (CVS 808) (check-in: [db745e87dc] user: drh branch: trunk, size: 34597)
2002-12-17
13:05
[8f19c71e45] part of check-in [f04547edfa] 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) (check-in: [f04547edfa] user: drh branch: trunk, size: 34246)
2002-10-20
15:46
[ca7650ef2c] part of check-in [4622b7ce8f] Make sure malloc(0) always returns NULL. Fix for ticket #171. (CVS 764) (check-in: [4622b7ce8f] user: drh branch: trunk, size: 33787)
2002-09-30
01:31
[cd28b33c68] part of check-in [0154250018] Fix an uninitialized variable that could cause problems when comparing two NULLs. (CVS 757) (check-in: [0154250018] user: drh branch: trunk, size: 33759)
2002-08-26
19:55
[c70d5da535] part of check-in [45847390d0] Fix for ticket #142: Make sure we get the correct sort order even when the columns being sorted contain NULLs. (CVS 730) (check-in: [45847390d0] user: drh branch: trunk, size: 33755)
2002-08-25
18:29
[60bc91db77] part of check-in [b957dafc26] Fix the memory leak introduced by check-in (725). (CVS 726) (check-in: [b957dafc26] user: drh branch: trunk, size: 33382)
2002-08-13
23:02
[bdbf0aedce] part of check-in [310ac4fbaf] Make the distinction between text and numeric data. (CVS 710) (check-in: [310ac4fbaf] user: drh branch: trunk, size: 33273)
2002-07-05
21:42
[7a99e754c4] part of check-in [b4737a16c9] 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) (check-in: [b4737a16c9] user: drh branch: trunk, size: 33115)
2002-06-14
20:58
[876b259f91] part of check-in [7e10e60bb7] Improvements to comments. No code changes. (CVS 618) (check-in: [7e10e60bb7] user: drh branch: trunk, size: 32560)
2002-05-31
15:51
[7cf46b5612] part of check-in [da61aa1d23] 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) (check-in: [da61aa1d23] user: drh branch: trunk, size: 32564)
2002-05-26
21:34
[a9f6e6f03e] part of check-in [46ce1a9ab6] Change functions to handle NULLs correctly. Added the NULLIF() function. (CVS 590) (check-in: [46ce1a9ab6] user: drh branch: trunk, size: 32456)
2002-05-10
13:14
[707c30f8c1] part of check-in [f42907ce45] Improvements to the SQLITE_MISUSE detection logic. Also added test cases for this logic, including the new test file "misuse.test". (CVS 559) (check-in: [f42907ce45] user: drh branch: trunk, size: 32465)
05:44
[79bcc175e4] part of check-in [a05fabd2df] 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) (check-in: [a05fabd2df] user: drh branch: trunk, size: 32867)
2002-03-06
03:08
[b34cd91387] part of check-in [b7a7dae919] Optimizations to the processing of integer comparisons. (CVS 420) (check-in: [b7a7dae919] user: drh branch: trunk, size: 32787)
2002-02-28
04:10
[00a35b421c] part of check-in [e14b0c82f3] Bug fix when -DMEMORY_DEBUG is off. (CVS 407) (check-in: [e14b0c82f3] user: drh branch: trunk, size: 32742)
00:41
[1c01f0a54a] part of check-in [50797fee50] 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) (check-in: [50797fee50] user: drh branch: trunk, size: 32680)
2002-02-27
01:47
[40a12067fa] part of check-in [668ef6380e] Bug fixes in the VIEW implementation. (CVS 396) (check-in: [668ef6380e] user: drh branch: trunk, size: 32582)
2002-02-14
21:42
[f31f3d6198] part of check-in [e17a858c9e] All identifiers to be quoted in square brackets, for compatibility with MS-Access. (CVS 370) (check-in: [e17a858c9e] user: drh branch: trunk, size: 32520)
2002-01-22
14:11
[8f8973dd55] part of check-in [035984a5b0] Constant ORDER BY or GROUP BY expressions are an error. (CVS 352) (check-in: [035984a5b0] user: drh branch: trunk, size: 32281)
2002-01-14
09:28
[3958a14a2d] part of check-in [f3038d218c] Fix warning messages in VC++. Patches from nicolas352001. (CVS 347) (check-in: [f3038d218c] user: drh branch: trunk, size: 32199)
2001-12-22
14:49
[8e9ca72d82] part of check-in [29cab124b4] Bug fixing in the new integer primary key code. (CVS 334) (check-in: [29cab124b4] user: drh branch: trunk, size: 32194)
2001-11-24
00:31
[13dcd870ee] part of check-in [fc2aae0457] Fix comparison functions so that they are consistent with the order of elements in indices. Fix the handling of large integers. (CVS 317) (check-in: [fc2aae0457] user: drh branch: trunk, size: 32114)
2001-11-21
02:21
[265cff871a] part of check-in [03673adbfe] Attempting to add support for 64-bit platforms. (CVS 314) (check-in: [03673adbfe] user: drh branch: trunk, size: 32306)
2001-11-06
04:00
[ac83973ecc] part of check-in [eb07768ae9] Implement indices that occur in sort order and the LIMIT...OFFSET clause of SELECT statements. (CVS 301) (check-in: [eb07768ae9] user: drh branch: trunk, size: 32289)
2001-10-22
02:58
[aa4d2de60c] part of check-in [f8328a5f11] More changes for 2.0.7. (CVS 293) (check-in: [f8328a5f11] user: drh branch: trunk, size: 29655)
2001-09-27
03:22
[4da3be37d0] part of check-in [34c42967f3] Added basic support for enforcement of UNIQUE on indices and primary keys. Support for addition constraints is to follow. (CVS 267) (check-in: [34c42967f3] user: drh branch: trunk, size: 29472)
2001-09-23
02:35
[9c888445c1] part of check-in [337b3d3b2a] Fixes to the locking and rollback behavior. (CVS 261) (check-in: [337b3d3b2a] user: drh branch: trunk, size: 29392)
2001-09-19
13:22
[2a3491fd76] part of check-in [abff526d00] Trying to get the OS abstraction layer to work. (CVS 256) (check-in: [abff526d00] user: drh branch: trunk, size: 29312)
2001-09-18
22:17
[2cd0bb9693] part of check-in [22132ce18c] Fix a problem in GROUP BY with multiple columns. (CVS 255) (check-in: [22132ce18c] user: drh branch: trunk, size: 29297)
2001-09-16
00:13
[a09c3c12aa] part of check-in [4e926efe2b] Disclaimed copyright. Preparing for release 2.0. (CVS 250) (check-in: [4e926efe2b] user: drh branch: trunk, size: 29312)
2001-09-15
13:15
[fedf96bcda] part of check-in [8fdec4d8b6] Limit the total data in a single row to 2^16-1 bytes. (CVS 248) (check-in: [8fdec4d8b6] user: drh branch: trunk, size: 29867)
00:57
[f3f1550fb7] part of check-in [14474fa144] Everything is working on Linux. This is release 2.0-Alpha-1. (CVS 246) (check-in: [14474fa144] user: drh branch: trunk, size: 29787)
2001-09-13
13:46
[c77668fef8] part of check-in [6ecc8b20d4] 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) (check-in: [6ecc8b20d4] user: drh branch: trunk, size: 29456)
2001-04-11
14:28
[1b396ac34e] part of check-in [86b30cd097] better handling of out-of-memory errors (CVS 207) (check-in: [86b30cd097] user: drh branch: trunk, size: 28166)
2001-04-05
15:57
[aec315b834] part of check-in [8390f6521a] i18n changes (CVS 201) (check-in: [8390f6521a] user: drh branch: trunk, size: 27489)
2001-04-04
21:10
[16a7af31c2] part of check-in [f0674697c9] Added support for UTF-8 (CVS 199) (check-in: [f0674697c9] user: drh branch: trunk, size: 27850)
2001-03-14
12:35
[f4573201fc] part of check-in [bda83e2b75] 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) (check-in: [bda83e2b75] user: drh branch: trunk, size: 24556)
2000-12-10
18:23
[0298100e64] part of check-in [ced90c3f93] speed tweaks and documentation updates (CVS 167) (check-in: [ced90c3f93] user: drh branch: trunk, size: 24533)
2000-10-11
19:28
[811e0ad47f] part of check-in [3f0f1fa1fc] Misc cleanup. Notes on compiling for Win95. (CVS 152) (check-in: [3f0f1fa1fc] user: drh branch: trunk, size: 24217)
2000-09-14
01:21
[782f87af3c] part of check-in [ea0e32828f] better handling of exponential notation (CVS 145) (check-in: [ea0e32828f] user: drh branch: trunk, size: 23966)
2000-07-31
11:57
[b75b33e6bd] part of check-in [69b73ea3a0] fix a configuration problem on TAC-4 (CVS 113) (check-in: [69b73ea3a0] user: drh branch: trunk, size: 22135)
2000-06-21
13:59
[fcd7ac9d2b] part of check-in [e1bf96a467] :-) (CVS 104) (check-in: [e1bf96a467] user: drh branch: trunk, size: 22116)
2000-06-08
13:36
[38e4bb5edf] part of check-in [bf98cf82a7] remove all memory leaks (CVS 80) (check-in: [bf98cf82a7] user: drh branch: trunk, size: 22116)
2000-06-05
16:01
[33f9baa01e] part of check-in [ce45dea902] separate Select structure (CVS 51) (check-in: [ce45dea902] user: drh branch: trunk, size: 20968)
2000-06-04
12:58
[a06e837966] part of check-in [6ea5cebf05] rework the VDBE engine. NULL is now distinct from "" (CVS 49) (check-in: [6ea5cebf05] user: drh branch: trunk, size: 20964)
2000-06-02
13:27
[c22846f23b] part of check-in [2b55f9b790] :-) (CVS 37) (check-in: [2b55f9b790] user: drh branch: trunk, size: 20895)
2000-05-31
22:58
[da47fe65ef] part of check-in [09054df318] :-) (CVS 29) (check-in: [09054df318] user: drh branch: trunk, size: 20921)
02:27
[6b4327d7fb] part of check-in [01d85b35e9] :-) (CVS 20) (check-in: [01d85b35e9] user: drh branch: trunk, size: 20480)
2000-05-30
16:27
[2a0314dcc9] part of check-in [8d66c7355d] :-) (CVS 15) (check-in: [8d66c7355d] user: drh branch: trunk, size: 16646)
13:44
[dc1e1814cf] part of check-in [1bb8ee8d9f] :-) (CVS 14) (check-in: [1bb8ee8d9f] user: drh branch: trunk, size: 16093)
2000-05-29
23:48
[321c136fc1] part of check-in [e34143c24f] :-) (CVS 8) (check-in: [e34143c24f] user: drh branch: trunk, size: 13990)
23:30
[171dc6334f] part of check-in [fdf4b31a18] :-) (CVS 7) (check-in: [fdf4b31a18] user: drh branch: trunk, size: 13991)
17:44
[b2e2a4dc55] part of check-in [53841c66c6] :-) (CVS 2) (check-in: [53841c66c6] user: drh branch: trunk, size: 13931)
14:26
Added: [370c2339bb] part of check-in [6f3655f79f] initial check-in of the new version (CVS 1) (check-in: [6f3655f79f] user: drh branch: trunk, size: 13823)