๐ AIๆ็ดข & ไปฃ็
๐
ไธป้กต
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
refs/heads/wal
/
src
/
date.c
2b1e690
Fix the implementation of CURRENT_TIMESTAME and CURRENT_DATE when
by drh
ยท 16 years ago
c81c11f
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
by drh
ยท 16 years ago
3e82c1d
Allow specific exclusion of localtime_s() usage on Windows.
by shane
ยท 16 years ago
11bb41f
Fixed some warnings and an assert in the WINCE code when compiling under MSVC.
by shane
ยท 16 years ago
dee0e40
Changes to facility full coverage testing of util.c. (CVS 6597)
by drh
ยท 17 years ago
7fee360
Make sure the 'unixepoch' converter in the date and time functions rounds
by drh
ยท 17 years ago
0775896
Use integer rather than floating point compuations in converting from julian
by drh
ยท 17 years ago
6eb4152
Fix the strftime() function so that the %s format can handle dates outside
by drh
ยท 17 years ago
fbd60f8
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)
by shane
ยท 17 years ago
c531a22
Fix a round-off error when moving dates by negative modifier amounts.
by drh
ยท 17 years ago
6711002
Add testcase() macros for coverage in date.c. (CVS 6209)
by drh
ยท 17 years ago
78ca0e7
When not compiling for an EBCDIC system, use built-in alternatives to the tolowe
by danielk1977
ยท 17 years ago
7f1e8a0
Do not use long long constants in code. Ticket #3547. (CVS 6048)
by drh
ยท 17 years ago
18e526c
Work to remove harmless MSVC compiler warnings. (CVS 6013)
by shane
ยท 17 years ago
1bd10f8
Additional work at eliminating silly compiler warnings. (CVS 6010)
by drh
ยท 17 years ago
ea67883
Never use strlen(). Use our own internal sqlite3Strlen30() which is
by drh
ยท 17 years ago
aef3af5
Removed some harmless compiler warnings and converted some "double" ops to "int" in date.c. (CVS 5997)
by shane
ยท 17 years ago
62c14b3
Changes to avoid "unused parameter" compiler warnings. (CVS 5921)
by danielk1977
ยท 17 years ago
00e1361
Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914)
by danielk1977
ยท 17 years ago
21717ed
Fix the SQLITE_OMIT_DATETIME_FUNCS compile-time option so that it builds
by drh
ยท 17 years ago
f65c76d
Do not use double unnecessarily in date+time functions. Ticket #3422. (CVS 5776)
by drh
ยท 17 years ago
106cee5
Work around an issue with the WINSCW compiler. (CVS 5671)
by drh
ยท 17 years ago
075c23a
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652)
by danielk1977
ยท 17 years ago
777c538
Move date+time functions to start-time initialization. Additional
by drh
ยท 17 years ago
633e6d5
Implement the "lookaside" memory allocation cache. Use of this cache makes
by drh
ยท 17 years ago
66cccd9
Add an SQLITE_OMIT_LOCALTIME around the "utc" modifier in date/time functions. (CVS 5483)
by drh
ยท 17 years ago
59f8c08
Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234)
by danielk1977
ยท 18 years ago
e5ae573
Continuing work on the new memory allocation subsystem.
by drh
ยท 18 years ago
85f477a
Convert the date/time functions to work with milliseconds since the
by drh
ยท 18 years ago
3af5d68
Avoid unnecessary float->text->float conversions in date/time processing.
by drh
ยท 18 years ago
66147c9
Add the ability to disable the "localtime" modifier in the date/time
by drh
ยท 18 years ago
b8109ad
Updated to use localtime_s() in Windows build environments that support it. Ticket #3126. (CVS 5164)
by shane
ยท 18 years ago
bb4957f
Initial implementation of per-connection limits and the sqlite3_limit() API.
by drh
ยท 18 years ago
fa4a4b9
Add a new interface, sqlite3_context_db_handle(), that returns the database
by drh
ยท 18 years ago
8257f0c
Use the xCurrentTime method of the default VFS instead of stdlib time() to
by drh
ยท 18 years ago
1cfdc90
Accept "Z" as the zulu timezone at the end of date strings. (CVS 4805)
by drh
ยท 18 years ago
008e476
Test coverage for date.c. (CVS 4722)
by drh
ยท 18 years ago
3334e94
Improved test coverage in date.c. Report an error if a malloc
by drh
ยท 18 years ago
4152e67
Fixes for compilation/testing when the various OMIT macros are defined. (CVS 4423)
by danielk1977
ยท 18 years ago
153c62c
The win32 driver compiles but does not yet work well. Many bugs
by drh
ยท 18 years ago
b21c8cd
The sqlite3_value object now carries an sqlite3* pointer to use for
by drh
ยท 18 years ago
29278e3
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)
by drh
ยท 18 years ago
fee2d25
Further progress on migration to sqlite3_vfs. (CVS 4242)
by danielk1977
ยท 18 years ago
1e53695
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233)
by danielk1977
ยท 18 years ago
1743575
Half-way through a major refactoring of the memory allocation.
by drh
ยท 18 years ago
37cd66a
Remove a keyword from the header comment in date.c (CVS 3961)
by drh
ยท 19 years ago
a0206bc
Introduce the (experimental) sqlite3_result_error_toobig() API that
by drh
ยท 19 years ago
5bb3eb9
Eliminate all uses of sprintf() and strcpy(). These were not being
by drh
ยท 19 years ago
7a521cf
Fix segfaults that can occur if a malloc failure happens just before
by drh
ยท 19 years ago
05f7c19
Test coverage improvements. Over 90% of branches are now executed in
by drh
ยท 19 years ago
2ecad3b
Make sure the strftime() date conversions put in leading zeros correctly.
by drh
ยท 19 years ago
622fa9a
Fix another round-off problem in strftime(). Ticket #2153. (CVS 3574)
by drh
ยท 19 years ago
c2c9eef
Fix a round-off error in the %W and %j conversions of the strftime() function.
by drh
ยท 19 years ago
7f986a6
CVS malfunctioned on the previous check-in. Make sure the revision to
by drh
ยท 19 years ago
b1f1e6e
Fix a round-off problem in the %f conversion of strftime(). Ticket #1991. (CVS 3443)
by drh
ยท 19 years ago
8759576
Add HAVE_GMTIME_R and HAVE_LOCALTIME_R flags and use them if defined.
by drh
ยท 19 years ago
f11c34d
Bug fix in date/time computations. Ticket #1964.
by drh
ยท 19 years ago
15b9a15
Patches to support linux on embedded platforms. (CVS 3049)
by drh
ยท 20 years ago
f011300
Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024)
by danielk1977
ยท 20 years ago
771151b
Various fixes that allow the malloc() failure tests to pass again. (CVS 2963)
by danielk1977
ยท 20 years ago
029b44b
Documentation updates. Fix to date.c. But most importantly: database
by drh
ยท 20 years ago
24b010f
Terminate the va_start in the getDigits function of date.c. (CVS 2931)
by drh
ยท 20 years ago
5739103
Fix timezone parsing in the date/time functions. Ticket #1587. (CVS 2891)
by drh
ยท 20 years ago
66560ad
Change the OS interface layer to use traditional direct function call
by drh
ยท 20 years ago
2646da7
Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810)
by drh
ยท 20 years ago
054889e
Restructure the OS interface yet again. This time make the OsFile object
by drh
ยท 20 years ago
487e262
Remove the blob(), text() and numeric() functions added in (2524) and
by drh
ยท 20 years ago
4cb29b4
Allow the character "T" between date and time in ISO-8601 date/time formats.
by drh
ยท 21 years ago
018d1a4
Test coverage improvements. (CVS 2215)
by drh
ยท 21 years ago
6c62608
The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100)
by drh
ยท 21 years ago
2df9fab
Add documentation for DEFAULT CURRENT_TIME & co. (CVS 2088)
by danielk1977
ยท 21 years ago
e6efa74
Ensure tables cannot be created/dropped when btree cursors are open. (CVS 2085)
by danielk1977
ยท 21 years ago
752e679
Have "DEFAULT CURRENT_TIME" & co. work even if SQLITE_OMIT_DATETIME_FUNCS is defined. (CVS 2083)
by danielk1977
ยท 21 years ago
7977a17
Port the "DEFAULT CURRENT_TIME" etc. functionality from an earlier fork of sqlite. (CVS 2082)
by danielk1977
ยท 21 years ago
5719628
Convert many constants to have type "const". (CVS 2006)
by drh
ยท 21 years ago
eb20625
Use type i64 instead of off_t for file offsets since off_t is giving
by drh
ยท 21 years ago
9bb575f
Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3
by drh
ยท 21 years ago
181fc99
Fix a typo in a comment. (CVS 1889)
by drh
ยท 21 years ago
4c755c0
Make sure the argument to ctype.h macros is always an unsigned character.
by drh
ยท 21 years ago
fd1f394
Comment out all of date/time functions with SQLITE_OMIT_DATETIME_FUNCS.
by drh
ยท 21 years ago
1020d49
The %W date specifier in strftime should be measured from the first Monday
by drh
ยท 21 years ago
f9d64d2
Remove the iCollate argument from sqlite3_create_function() (CVS 1632)
by danielk1977
ยท 22 years ago
d812336
(1) Modifications to the user-function interface and (2) Internal changes
by danielk1977
ยท 22 years ago
dc8453f
Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572)
by danielk1977
ยท 22 years ago
9c05483
Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511)
by drh
ยท 22 years ago
4f26d6c
Refactoring of the vdbe Mem functions and the APIs that deal with them.
by drh
ยท 22 years ago
f9b596e
Remove dataType and includeTypes flags from function definitions. Added new
by drh
ยท 22 years ago
6590493
Use the new form of the sqlite3_create_function() API. (CVS 1460)
by danielk1977
ยท 22 years ago
0ae8b83
Change a couple of symbol names for the new user function API. (CVS 1454)
by danielk1977
ยท 22 years ago
7e18c25
Use the new API for returning values and errors from user functions. (CVS 1453)
by danielk1977
ยท 22 years ago
51ad0ec
Non-aggregate SQL functions use sqlite_value* instead of const char * for
by danielk1977
ยท 22 years ago
8a6b541
Have the vdbe handle strings in the same encoding as the database. (CVS 1445)
by danielk1977
ยท 22 years ago
3d1bfea
Implement type affinity for table and index records (CVS 1375)
by danielk1977
ยท 22 years ago
24b03fd
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1337)
by danielk1977
ยท 22 years ago
4adee20
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the
by danielk1977
ยท 22 years ago
0d131ab
One more fix to the new HH:MM:SS modifier. This time add some test
by drh
ยท 22 years ago
b6829e9
Try again to get the HH:MM:SS modifier change right... (CVS 1279)
by drh
ยท 22 years ago
446536a
Fix a bug in the HH:MM:SS modifier change that was just checked in. (CVS 1278)
by drh
ยท 22 years ago
33a9ad2
Allow time modifiers of the form HH:MM:SS.SSS with an option "+" or "-"
by drh
ยท 22 years ago
eb9a9e8
Code cleanup in the date and time functions. (CVS 1263)
by drh
ยท 22 years ago
Next »