/ All files named "src/ctime.c"
Login

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

History for src/ctime.c

2020-05-16
19:00
[f5eaef0a] part of check-in [5af4abe9] Merge trunk enhancements in the reuse-schema branch. (Actual date of this check-in is 2020-05-18.) (check-in: [5af4abe9] user: drh branch: reuse-schema, size: 17701)
2020-05-02
03:46
[e98518d2] part of check-in [81254752] Add support for PRAGMA analyze_limit and approximate analysis. (check-in: [81254752] user: drh branch: trunk, size: 17636)
2020-03-23
15:49
[6892999e] part of check-in [2795f0d6] Infrastructure for the bytecode() table-valued function. The function itself is not yet implemented. (check-in: [2795f0d6] user: drh branch: bytecode-function, size: 17691)
2020-03-17
13:41
[060c9bc1] part of check-in [a9bfa47a] Remove the SQLITE_OMIT_BTREECOUNT option. Btree count is required. (check-in: [a9bfa47a] user: drh branch: approximate-analyze, size: 17571)
2020-02-27
15:20
[d468aa18] part of check-in [3f5650aa] Merge latest trunk changes into this branch. (check-in: [3f5650aa] user: dan branch: reuse-schema, size: 17691)
2020-02-07
01:12
[6a77ec9e] part of check-in [5a877221] Simplify the code by removing the unsupported and undocumented SQLITE_HAS_CODEC compile-time option (check-in: [5a877221] user: drh branch: trunk, size: 17626)
2019-08-13
15:22
[15d10100] part of check-in [5b4689d8] Merge latest trunk changes with this branch. (check-in: [5b4689d8] user: dan branch: reuse-schema, size: 17734)
2019-08-12
15:19
[b2738178] part of check-in [a48a7b78] Make the sha3 extension part of the amalgamation, enabled using SQLITE_ENABLE_SHA3. (check-in: [a48a7b78] user: drh branch: sha3, size: 17716)
2019-08-08
15:24
[1b0724e6] part of check-in [1e17ea2f] 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: [1e17ea2f] user: drh branch: omit-stat3, size: 17669)
2019-07-18
19:50
[dd608385] part of check-in [892ac945] Add a ctime.c entry for SQLITE_ENABLE_SHARED_SCHEMA. (check-in: [892ac945] user: drh branch: reuse-schema, size: 17787)
2019-06-13
16:14
[37f3d211] part of check-in [c4b40568] Add a new requirement mark on the ctime.c code. (check-in: [c4b40568] user: drh branch: trunk, size: 17722)
2018-10-29
17:53
[109e58d0] part of check-in [592b66e8] Add the sqlite3_normalized_sql() API. (check-in: [592b66e8] user: mistachkin branch: normalized_sql, size: 17697)
2018-10-24
23:55
[56e2f32d] part of check-in [de940296] Add the ENABLE_GEOPOLY case to the compile_options pragma. (check-in: [de940296] user: drh branch: trunk, size: 17640)
2018-07-23
10:57
[b157b010] part of check-in [1cc72845] Fix the macros used to generate the output of "PRAGMA compile_options" so that they handle valid values for the SQLITE_DEFAULT_LOOKASIDE macro (which contain a "," character). (check-in: [1cc72845] user: dan branch: trunk, size: 17587)
2018-04-18
14:48
[849d4ceb] part of check-in [f3596ab9] Omit some code not used without SQLITE_ENABLE_SORTER_REFERENCES. Improvements to comments used for documentation. (check-in: [f3596ab9] user: drh branch: sorter-reference, size: 17285)
2018-03-19
16:09
[bd9da3f1] part of check-in [1ec339fd] In the compile_options pragma, show the actual value of the SQLITE_ENABLE_CEROD compile-time option, if it exists. (check-in: [1ec339fd] user: drh branch: trunk, size: 17212)
2017-07-28
02:02
[9793c912] part of check-in [def55027] Backport of all batch-atomic-write changes through check-in [67bad7fb9b] (check-in: [def55027] user: drh branch: batch-atomic-write-3.19, size: 10107)
01:53
[ff1be3ee] part of check-in [67bad7fb] Add the SQLITE_ENABLE_BATCH_ATOMIC_WRITE macro to ctime.c (check-in: [67bad7fb] user: drh branch: batch-atomic-write, size: 17177)
2017-06-29
14:33
[92895480] part of check-in [adfdb801] Rename the "stmts" virtual table to just "stmt" without the final "s". (check-in: [adfdb801] user: drh branch: trunk, size: 17102)
13:41
[0dbb6af8] part of check-in [60c62829] Add the stmts virtual table to testfixture builds. Add new compile-time options SQLITE_ENABLE_QPSG and SQLITE_ENABLE_STMTSVTAB to ctime.c (check-in: [60c62829] user: drh branch: trunk, size: 17104)
2017-06-24
16:35
[e9a6db13] part of check-in [c2ea6293] Make sure the config.h header is included by ctime.c, if that header exists. (check-in: [c2ea6293] user: drh branch: trunk, size: 17000)
2017-06-20
18:19
[ca1b2403] part of check-in [94e420ec] Rename the azCompileOpt global constant to avoid a harmless compiler warning about a name conflict with a local variable. (check-in: [94e420ec] user: drh branch: trunk, size: 16778)
2017-06-17
18:49
[eeff225a] part of check-in [f3db02f4] Fix a missing comma in the previous check-in. (check-in: [f3db02f4] user: drh branch: trunk, size: 16750)
17:29
[ce45bd30] part of check-in [95141c64] Ensure that the value of the THREADSAFE symbol is always included when reporting compile time options, even if it was not explicitly configured. (check-in: [95141c64] user: dan branch: ctime-refactor, size: 16750)
2017-06-16
19:51
[6327cb26] part of check-in [bc1951d6] Rework the code in ctime.c a bit to report on more compile time options. And to only output configuration options passed in to SQLite, not the default values of #define symbols set automatically. Also generate the large array in ctime.c using new script tool/mkctime.tcl, instead of entering it manually. (check-in: [bc1951d6] user: dan branch: ctime-refactor, size: 16653)
2017-03-16
18:14
[47d91a25] part of check-in [78030c0f] If the user has not set it explicitly, set the "PRAGMA synchronous" setting to SQLITE_DEFAULT_SYNCHRONOUS when a database connection changes from wal to rollback journal mode. (check-in: [78030c0f] user: dan branch: default-synchronous-fix, size: 10032)
2017-02-13
13:35
[a9984df7] part of check-in [670f10b2] Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" for consistency. (check-in: [670f10b2] user: drh branch: trunk, size: 9810)
2016-12-07
17:06
[9f2296a4] part of check-in [24574a15] Put the SQLITE_UNTESTABLE compile-time option in the correct order for PRAGMA compile_options. (check-in: [24574a15] user: drh branch: trunk, size: 9807)
15:49
[bcec3165] part of check-in [f3608187] Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. (check-in: [f3608187] user: drh branch: trunk, size: 9807)
2016-10-26
12:15
[a2a52d6e] part of check-in [e8a9bfec] Add compile time option SQLITE_ENABLE_URI_00_ERROR. If defined, any "%00" escape found in a URI is treated as an error. (check-in: [e8a9bfec] user: dan branch: uri-00-error, size: 9822)
2016-10-21
10:09
[72c9d01c] part of check-in [b7d9727b] If SQLITE_DIRECT_OVERFLOW_READ is defined at compile time, add "DIRECT_OVERFLOW_READ" to the list of symbols returned by "PRAGMA compile_options". (check-in: [b7d9727b] user: dan branch: trunk, size: 9750)
2016-07-28
17:24
[e77f3dc2] part of check-in [81f9cf86] Improvements to the way the COMPILER compile-time option is set when compiling with Clang. (check-in: [81f9cf86] user: drh branch: trunk, size: 9685)
2016-06-13
19:58
[61949e83] part of check-in [0230ca17] Fix RBU so that it builds with -DSQLITE_ENABLE_8_3_NAMES. Fix "PRAGMA compile_options" for SQLITE_ENABLE_8_3_NAMES such that it reports the numeric setting: "1" or "2". (check-in: [0230ca17] user: drh branch: trunk, size: 9562)
2016-05-28
00:13
[999a8284] part of check-in [3f710bc3] Clang can define _MSC_VER in some circumstances; therefore, check for Clang first. (check-in: [3f710bc3] user: mistachkin branch: ctimeCompiler, size: 9523)
2016-05-27
21:13
[89ae9d99] part of check-in [7c2cd4b0] Check for Clang before GCC. (check-in: [7c2cd4b0] user: mistachkin branch: ctimeCompiler, size: 9523)
20:30
[5fffce9c] part of check-in [5c966f20] Remove surplus quotation marks from the COMPILER= compile_options setting for Clang. (check-in: [5c966f20] user: mistachkin branch: ctimeCompiler, size: 9523)
19:34
[7d735d97] part of check-in [664c132d] Remove surplus quotation marks from the COMPILER= compile_options setting for GCC. (check-in: [664c132d] user: drh branch: ctimeCompiler, size: 9537)
18:09
[dc03a315] part of check-in [d734e2df] Add basic compiler information to the results of 'PRAGMA compile_options'. (check-in: [d734e2df] user: mistachkin branch: ctimeCompiler, size: 9551)
2015-12-03
20:50
[60e135af] part of check-in [06338201] Make the SQLITE_ENABLE_8_3_NAMES compile-time option available to sqlite3_compileoption_used(). (check-in: [06338201] user: drh branch: trunk, size: 9278)
2015-12-01
21:23
[58eda763] part of check-in [9e1d6d4c] Add the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. (check-in: [9e1d6d4c] user: drh branch: trunk, size: 9221)
2015-10-08
19:29
[509ef9c6] part of check-in [d820a1bd] First attempt to add json1 and fts5 to the amalgamation. This check-in does not compile. (check-in: [d820a1bd] user: drh branch: amalg-json1-fts5, size: 9147)
2015-05-07
20:26
[5a0b735d] part of check-in [480b4cb0] Add an entry to sqlite3_compileoption_used() for SQLITE_ENABLE_DBSTAT_VTAB. (check-in: [480b4cb0] user: drh branch: trunk, size: 9051)
2015-01-10
16:49
[98f89724] part of check-in [9e92a5ed] 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: [9e92a5ed] user: drh branch: trunk, size: 8990)
2014-10-27
19:39
[df198488] part of check-in [9646a136] Fix a typo in the macro name of an #ifdef (check-in: [9646a136] user: drh branch: trunk, size: 9303)
2014-10-24
00:35
[dfa83bfe] part of check-in [c297a84b] Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. (check-in: [c297a84b] user: drh branch: api-armor, size: 9304)
2014-10-22
16:25
[cc296efb] part of check-in [1a5a5da3] The _beginthreadex() / _endthreadex() functions should only be used when compiling with MSVC. (check-in: [1a5a5da3] user: mistachkin branch: msvcThreads, size: 9240)
2014-09-25
02:44
[bb434068] part of check-in [ef30e035] Change that might allow SQLite to build and work using the EBCDIC character set. (check-in: [ef30e035] user: drh branch: trunk, size: 9135)
2014-09-10
22:46
[16cd1921] part of check-in [4eaaa7fa] Complete the implementation of the various APIs. Fix several problems. This is another incremental check-in that does not completely work. (check-in: [4eaaa7fa] user: drh branch: user-auth, size: 9135)
2014-08-15
22:37
[ee1d8f1f] part of check-in [c8ade949] Aborted merge. (check-in: [c8ade949] user: numist branch: obsolete, size: 9109)
2014-03-05
17:29
[0231df90] part of check-in [f33f2b3f] Add SQLITE_OMIT_CTE to the list of compile options that might be returned by "PRAGMA compile_options". (check-in: [f33f2b3f] user: dan branch: trunk, size: 9069)
2013-12-03
22:32
[77779efb] part of check-in [52a44146] Add memory subsystem related defines to the compile-time options list. (check-in: [52a44146] user: mistachkin branch: memTests, size: 9025)
2013-08-12
20:14
[ea4b7f36] part of check-in [cca8bf43] If ENABLE_STAT3 is defined but ENABLE_STAT4 is not, have ANALYZE create and populate the sqlite_stat3 table instead of sqlite_stat4. (check-in: [cca8bf43] user: dan branch: sqlite_stat4, size: 8919)
2013-08-03
20:24
[177fa0cb] part of check-in [2beea303] Begin adding experimental sqlite_stat4 table. This commit is buggy. (check-in: [2beea303] user: dan branch: sqlite_stat4, size: 8860)
2013-04-18
03:10
[4262c227] part of check-in [e9f9d84b] Fix a compiler warning in sqlite3_compileoption_used(). (check-in: [e9f9d84b] user: drh branch: trunk, size: 8860)
2013-04-16
18:24
[387589ab] part of check-in [109d6767] Omit sqlite3_compileoption_used() entries that are not explicitly stated on the compiler command-line, except keep SQLITE_THREADSAFE around so that there is always at least one compilation option. (check-in: [109d6767] user: drh branch: trunk, size: 8845)
14:58
[cb3cd5bf] part of check-in [16f7ba4a] Remove the unused SQLITE_CURDIR macro. (check-in: [16f7ba4a] user: drh branch: trunk, size: 8820)
2013-04-15
17:03
[726e88b7] part of check-in [ea1404a1] Refactoring the mmap interface. The controlling pragma is now "mmap_size" instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and SQLITE_FCNTL_MMAP_SIZE, respecctively. The default mmap_size is now always 0, meaning that memory mapped I/O is off by default. There is a new compile-time option SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size. Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic and causes it to be omitted from the build. An extra argument is added to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we know that it does not work, meaning that it cannot be turned on by mistake on those platforms. (check-in: [ea1404a1] user: drh branch: trunk, size: 8860)
2013-04-08
20:47
[61a53c7e] part of check-in [8a4314a3] Disable the use of memory-mapped I/O if the SQLITE_DISABLE_MMAP macro is defined. Automatically define this macro for OpenBSD and QNX. Other systems are likely to be added to the disabled list over time. (check-in: [8a4314a3] user: drh branch: trunk, size: 8825)
2013-04-03
13:09
[16658a25] part of check-in [2d9f1327] Change the mmap_limit pragma to report the new limit, or to report the existing limit if called with no arguments. Report the default mmap_limit as part of PRAGMA compile_options. Set the default mmmap_limit to 0 for all systems other than linux, mac, windows, and solaris. (check-in: [2d9f1327] user: drh branch: experimental-mmap, size: 8773)
2013-03-24
22:56
[2a5f251f] part of check-in [8b44d6fb] Remove the SQLITE_OMIT_MERGE_SORT compile-time option and its related code. The merge sorter is now a required component. (check-in: [8b44d6fb] user: drh branch: trunk, size: 8668)
2012-09-13
12:10
[72a70dcf] part of check-in [98b971fb] Add the RTREE_INT_ONLY configuration parameter to the compile-time options logic. (check-in: [98b971fb] user: drh branch: trunk, size: 8726)
2012-09-12
18:45
[a67101c1] part of check-in [8398f77c] Add an implementation of the REGEXP operator and function. Only defined if compiled with SQLITE_ENABLE_REGEXP. (check-in: [8398f77c] user: drh branch: regexp, size: 8724)
2012-03-05
22:52
[500d019d] part of check-in [86c049a1] Add compile-time define to indicate if the VFS supports the concept of a current directory (as WinCE and WinRT do not). Avoid using the GetTempPath and GetFullPathName APIs on WinRT. Some tests still need adjustments. (check-in: [86c049a1] user: mistachkin branch: winrt, size: 8670)
2011-10-21
19:06
[a9c26822] part of check-in [aed2bf7a] Purge lingering references to SQLITE_STAT2 from the code and test scripts. (check-in: [aed2bf7a] user: drh branch: trunk, size: 8630)
2011-09-23
14:40
[829f3261] part of check-in [0beb88a9] Merge the latest trunk changes into the stat3-trunk branch. (check-in: [0beb88a9] user: drh branch: stat3-trunk, size: 8682)
2011-09-22
14:56
[3f2715d3] part of check-in [4eb46898] Remove the SQLITE_PAGECACHE_BLOCKALLOC compilation option. (check-in: [4eb46898] user: dan branch: trunk, size: 8630)
2011-09-13
19:09
[dde6a9b8] part of check-in [11ca4ed8] Merge the latest trunk changes into the stat3-trunk branch. (check-in: [11ca4ed8] user: drh branch: stat3-trunk, size: 8750)
2011-08-31
20:47
[e3132ec6] part of check-in [1b124af4] Add the SQLITE_MAX_SCHEMA_RETRY compile-time option to the set of options understood by "PRAGMA compile_options;" and by the "sqlite_compileoption_used()" function. (check-in: [1b124af4] user: drh branch: trunk, size: 8698)
2011-08-26
13:52
[c4eeabe4] part of check-in [0df04f92] Merge branches branch-3.7.2 and stat3-enhancement into a new branch for testing purposes. (check-in: [0df04f92] user: drh branch: stat3-3.7.2, size: 8543)
13:16
[3e961190] part of check-in [63f2c785] Merge the stat3-enhancement branch with trunk, but keep the resulting merge in a separate branch for now. (check-in: [63f2c785] user: drh branch: stat3-trunk, size: 8651)
2011-08-23
12:50
[caf51429] part of check-in [768c1846] Merge the PAGECACHE_BLOCKALLOC changes into trunk. (check-in: [768c1846] user: drh branch: trunk, size: 8599)
2011-08-12
15:02
[7f283795] part of check-in [4ced2394] Add the SQLITE_OMIT_MERGE_SORT pre-processor directive. To omit the code in vdbesort.c. (check-in: [4ced2394] user: dan branch: experimental, size: 8531)
01:51
[0df87f94] part of check-in [52e1d7e8] Begin a branch that experimentally replaces sqlite_stat2 with a new table called sqlite_stat3 that will hopefully facilitate better query planning decisions. (check-in: [52e1d7e8] user: drh branch: stat3-enhancement, size: 8525)
2011-03-12
05:55
[2e39d337] part of check-in [668b91db] Backport the SQLITE_OMIT_UNIQUE_ENFORCEMENT change from check-in [b86999436e] on the trunk. (check-in: [668b91db] user: shaneh branch: branch-3.7.2, size: 8491)
04:58
[52ff72f9] part of check-in [b8699943] More tests for SQLITE_OMIT_UNIQUE_ENFORCEMENT and minor change to implementation. (check-in: [b8699943] user: shaneh branch: trunk, size: 8547)
2011-01-17
17:42
[7deec453] part of check-in [053ce76d] Add the SQLITE_OMIT_AUTORESET compile-time option which if enabled causes the sqlite3_step() routine to return SQLITE_MISUSE if it is called after it has previously returned anything other than SQLITE_ROW, SQLITE_BUSY, or SQLITE_LOCKED. (check-in: [053ce76d] user: drh branch: trunk, size: 8473)
2010-07-07
01:52
[4f3aadad] part of check-in [21a2db90] Remote the SQLITE_OMIT_GLOBALRECOVER macro - it is subsumed by SQLITE_OMIT_DEPRECATED. Add support to sqlite3_compileoption_used() for SQLITE_OMIT_WAL. (check-in: [21a2db90] user: drh branch: trunk, size: 8417)
2010-04-07
16:54
[51553a85] part of check-in [a811a47f] Wrap all automatic index changes inside SQLITE_OMIT_AUTOMATIC_INDEX. Add the automatic_index PRAGMA to turn it on and off. (check-in: [a811a47f] user: drh branch: experimental, size: 8409)
2010-03-09
13:02
[675186d8] part of check-in [0259b629] Check-in [87a6a9970b] did not completely disable FTS4. This check-in aims to finish the job. (check-in: [0259b629] user: drh branch: trunk, size: 8411)
2010-02-24
19:36
[ceb247eb] part of check-in [dd480f62] Changes to compile time option diags to report values for some defines. Added test cases to TCL test suite (ctime.test). (check-in: [dd480f62] user: shaneh branch: trunk, size: 8341)
2010-02-23
20:32
[af27b864] part of check-in [9f429434] Merge the compile-time option introspection interfaces into the trunk. (check-in: [9f429434] user: drh branch: trunk, size: 7708)
20:08
Added: [97598003] part of check-in [76a0294a] Refactored compile time option diagnostic support to use strings identifiers instead of bitmask. (check-in: [76a0294a] user: shaneh branch: compile_opts, size: 7715)