drh
2ecad3b443
Make sure the strftime() date conversions put in leading zeros correctly.
...
Ticket #2276 . (CVS 3749)
FossilOrigin-Name: e853067ec4db3eedfb4adcdd4172de2c55b9ac58
2007-03-29 17:57:21 +00:00
drh
622fa9a80e
Fix another round-off problem in strftime(). Ticket #2153 . (CVS 3574)
...
FossilOrigin-Name: d49ddc5ff05dd65e73edfa76db7e1af36967d81a
2007-01-08 16:19:07 +00:00
drh
c2c9eef6b3
Fix a round-off error in the %W and %j conversions of the strftime() function.
...
Ticket #2150 . (CVS 3570)
FossilOrigin-Name: 52067937803e6b36afc8f11c5d24059414208b77
2007-01-08 13:07:30 +00:00
drh
7f986a651e
CVS malfunctioned on the previous check-in. Make sure the revision to
...
date.c was received. Ticket #1991 . (CVS 3444)
FossilOrigin-Name: 433dac1f2924d00282ef952668b21a9c023c93cb
2006-09-25 18:05:04 +00:00
drh
b1f1e6ebd7
Fix a round-off problem in the %f conversion of strftime(). Ticket #1991 . (CVS 3443)
...
FossilOrigin-Name: bf4608406a3246fe7a214cb31b79e51f86b7ee18
2006-09-25 18:01:31 +00:00
drh
8759576540
Add HAVE_GMTIME_R and HAVE_LOCALTIME_R flags and use them if defined.
...
Unable to modify the configure script to test for gmtime_r and
localtime_r, however, because on my SuSE 10.2 system, autoconf generates
a configure script that does not work. Bummer. Ticket #1906 (CVS 3397)
FossilOrigin-Name: 862302eaae7bdad6f1b6431f08439c4ce7e0e4bb
2006-09-08 12:49:43 +00:00
drh
f11c34df74
Bug fix in date/time computations. Ticket #1964 .
...
Some unrelated comment typos are also fixed and got accidently
checked in at the same time. (CVS 3396)
FossilOrigin-Name: c81eaa0dc9a327d222e066076c4a2da5e69d8c21
2006-09-08 12:27:36 +00:00
drh
15b9a15a8d
Patches to support linux on embedded platforms. (CVS 3049)
...
FossilOrigin-Name: a088eb6d6eda70d89add1e5d95be5efda6c0de67
2006-01-31 20:49:13 +00:00
danielk1977
f011300000
Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024)
...
FossilOrigin-Name: d86f18a4277ebffb644ba2e574e0b697c8bbf8e4
2006-01-24 12:09:17 +00:00
danielk1977
771151b67f
Various fixes that allow the malloc() failure tests to pass again. (CVS 2963)
...
FossilOrigin-Name: 0505405fb9ae1068b7976718efbf2aabd07592d4
2006-01-17 13:21:40 +00:00
drh
029b44bdd3
Documentation updates. Fix to date.c. But most importantly: database
...
connections are now allowed to change threads as long as they are not
holding a lock. (CVS 2944)
FossilOrigin-Name: 03c422ecb508dd84dfafc8b7a0b790a43f5dadda
2006-01-15 00:13:15 +00:00
drh
24b010fad1
Terminate the va_start in the getDigits function of date.c. (CVS 2931)
...
FossilOrigin-Name: 94eac140f2363c7c3df68fa6f46728abfbfee1e6
2006-01-13 01:17:21 +00:00
drh
5739103e98
Fix timezone parsing in the date/time functions. Ticket #1587 . (CVS 2891)
...
FossilOrigin-Name: 94c87b70161d4d44fbf1602fc2baae22dca08759
2006-01-09 00:18:02 +00:00
drh
66560adab3
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)
FossilOrigin-Name: 2529c2e11fa1d345ec61f647e4f6fae20a7133d6
2006-01-06 14:32:19 +00:00
drh
2646da7e52
Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810)
...
FossilOrigin-Name: 83a59151559d9496d4f546e03e65087ea974717d
2005-12-09 20:02:05 +00:00
drh
054889ec6d
Restructure the OS interface yet again. This time make the OsFile object
...
a virtual base class which is subclassed for unix, windows, and the crash
test simulator. Add the new file "os.c" for common os layer code. Move
all OS-specific routines into the sqlite3Os structure. (CVS 2795)
FossilOrigin-Name: bd8740d1aecba69e1b5d64d43db07e8ad8841f07
2005-11-30 03:20:31 +00:00
drh
487e262f44
Remove the blob(), text() and numeric() functions added in (2524) and
...
replace them with the standard CAST operator.
Ticket #1287 . (CVS 2527)
FossilOrigin-Name: 17631785f9ee8ab280c82677eb53886912e085bc
2005-06-25 18:42:14 +00:00
drh
4cb29b4cfc
Allow the character "T" between date and time in ISO-8601 date/time formats.
...
Ticket #1170 . (CVS 2408)
FossilOrigin-Name: 2bf88daa57b01216c7bbe67972f479ee12be1193
2005-03-21 00:43:44 +00:00
drh
018d1a4929
Test coverage improvements. (CVS 2215)
...
FossilOrigin-Name: 92f9d2b2f480fccfa6e8b70a1d19058b92a4ea8f
2005-01-15 01:52:31 +00:00
drh
6c62608fc6
The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100)
...
FossilOrigin-Name: 98c7a55478f7c465b219edc1a33eee222586fd65
2004-11-14 21:56:29 +00:00
danielk1977
2df9fabf3c
Add documentation for DEFAULT CURRENT_TIME & co. (CVS 2088)
...
FossilOrigin-Name: c85f13f8f252faf423f12a3804f1fe2f950da660
2004-11-11 01:50:30 +00:00
danielk1977
e6efa74b9f
Ensure tables cannot be created/dropped when btree cursors are open. (CVS 2085)
...
FossilOrigin-Name: 8e5c2e5df8b824f7efb27e776240f005c6f1f0ff
2004-11-10 11:55:10 +00:00
danielk1977
752e679a1e
Have "DEFAULT CURRENT_TIME" & co. work even if SQLITE_OMIT_DATETIME_FUNCS is defined. (CVS 2083)
...
FossilOrigin-Name: f81b9c1c022772378aad32ec45d0027beeb36574
2004-11-09 16:13:33 +00:00
danielk1977
7977a17f06
Port the "DEFAULT CURRENT_TIME" etc. functionality from an earlier fork of sqlite. (CVS 2082)
...
FossilOrigin-Name: 0d27c8ff48f327ad82dd5b5b3b47b8d221f119b7
2004-11-09 12:44:37 +00:00
drh
5719628afb
Convert many constants to have type "const". (CVS 2006)
...
FossilOrigin-Name: d790c84c5a889928d07f5394fffef0cbb8d5f214
2004-10-06 15:41:16 +00:00
drh
eb206256f1
Use type i64 instead of off_t for file offsets since off_t is giving
...
portability problems. Ticket #924 . (CVS 1992)
FossilOrigin-Name: 8972c004dc825f668d952e7d082a89046b9260f1
2004-10-01 02:00:31 +00:00
drh
9bb575fd72
Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3
...
connection now *must* be called "sqlite3". You cannot call it "sqlite".
This might break existing code. (CVS 1941)
FossilOrigin-Name: 3ddf5a9d1c480a2e3aa32685879063b11afddbe1
2004-09-06 17:24:11 +00:00
drh
181fc99332
Fix a typo in a comment. (CVS 1889)
...
FossilOrigin-Name: 9af1d4d1456d32c2e15f73f79928572f3bfba6ae
2004-08-17 10:42:54 +00:00
drh
4c755c0f53
Make sure the argument to ctype.h macros is always an unsigned character.
...
Ticket #839 . (CVS 1881)
FossilOrigin-Name: b065973898c06a81c69b70b3fa91c79334bd9b9a
2004-08-08 20:22:17 +00:00
drh
fd1f394af2
Comment out all of date/time functions with SQLITE_OMIT_DATETIME_FUNCS.
...
Ticket #784 . (CVS 1828)
FossilOrigin-Name: 4e2ad572ea1800a2da1ea18548415c6fbf396259
2004-07-20 00:39:14 +00:00
drh
1020d49a31
The %W date specifier in strftime should be measured from the first Monday
...
of the year. Ticket #758 . (CVS 1805)
FossilOrigin-Name: 50b016b00470e6303ede1173d0447d8239563263
2004-07-18 22:22:43 +00:00
danielk1977
f9d64d2c30
Remove the iCollate argument from sqlite3_create_function() (CVS 1632)
...
FossilOrigin-Name: 728d57ff5517a51c3aad4ba95525b1aa2065bd19
2004-06-19 08:18:07 +00:00
danielk1977
d8123366c4
(1) Modifications to the user-function interface and (2) Internal changes
...
to automatically created indices. (CVS 1575)
FossilOrigin-Name: 5903f53828b5d282b33e27813417e4317c9ecf0b
2004-06-12 09:25:12 +00:00
danielk1977
dc8453fd7a
Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572)
...
FossilOrigin-Name: 9b84f2f488e1d37ba1a4c4cf31490bcbba0f6edd
2004-06-12 00:42:34 +00:00
drh
9c054830b4
Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511)
...
FossilOrigin-Name: adf7e29ff60dc559f64832fadb09f0b9decc0e76
2004-05-31 18:51:57 +00:00
drh
4f26d6c429
Refactoring of the vdbe Mem functions and the APIs that deal with them.
...
The code will not compile in its current state. (CVS 1465)
FossilOrigin-Name: bba6684d502ba1ecd9614d2470ec94296e3c07c2
2004-05-26 23:25:30 +00:00
drh
f9b596ebc0
Remove dataType and includeTypes flags from function definitions. Added new
...
P3_FUNCDEF type for P3 arguments on opcodes. Fixes to several user functions.
28 tests fail now. (CVS 1464)
FossilOrigin-Name: 36e031625995b2f7baf7654d771ca8fb764a0085
2004-05-26 16:54:42 +00:00
danielk1977
6590493d53
Use the new form of the sqlite3_create_function() API. (CVS 1460)
...
FossilOrigin-Name: 0317bef4b0c219ca2888c90553201e53230fb360
2004-05-26 06:18:37 +00:00
danielk1977
0ae8b83155
Change a couple of symbol names for the new user function API. (CVS 1454)
...
FossilOrigin-Name: 8f6b20c2938ded7ab9e400494c02370ecf7e9311
2004-05-25 12:05:56 +00:00
danielk1977
7e18c259fe
Use the new API for returning values and errors from user functions. (CVS 1453)
...
FossilOrigin-Name: 4eccae03b4a7f37804fea30416579787c3584bb2
2004-05-25 11:47:24 +00:00
danielk1977
51ad0ecd28
Non-aggregate SQL functions use sqlite_value* instead of const char * for
...
argument values. (CVS 1449)
FossilOrigin-Name: 1e47d7384d5fdfceb6ec737c656f70be59ba5b01
2004-05-24 12:39:02 +00:00
danielk1977
8a6b5411b3
Have the vdbe handle strings in the same encoding as the database. (CVS 1445)
...
FossilOrigin-Name: b7155db2b13aa3ca5f6c68e948d9e8740ebcac47
2004-05-24 07:04:25 +00:00
danielk1977
3d1bfeaa22
Implement type affinity for table and index records (CVS 1375)
...
FossilOrigin-Name: dbfe6e93166d9557d66cab9dca7977baa3501e5e
2004-05-14 11:00:53 +00:00
danielk1977
24b03fd055
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1337)
...
FossilOrigin-Name: ba2ba24263a9e4d1b65b441295504a5da6380f33
2004-05-10 10:34:34 +00:00
danielk1977
4adee20fcb
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)
FossilOrigin-Name: 8af6474c49263ae26216dff9465b33f76b500cf4
2004-05-08 08:23:19 +00:00
drh
0d131ab716
One more fix to the new HH:MM:SS modifier. This time add some test
...
procedures too. (CVS 1280)
FossilOrigin-Name: 7b3b8968ee9a5349dd6e9ae1e7a311bf8906607c
2004-02-29 01:08:17 +00:00
drh
b6829e94bd
Try again to get the HH:MM:SS modifier change right... (CVS 1279)
...
FossilOrigin-Name: e20d51f94ed67b8864a435e5735f61f396662c21
2004-02-29 00:50:33 +00:00
drh
446536a089
Fix a bug in the HH:MM:SS modifier change that was just checked in. (CVS 1278)
...
FossilOrigin-Name: 248b5500900bc8f401006aaa9b7dac090ae419fa
2004-02-29 00:48:08 +00:00
drh
33a9ad2f8c
Allow time modifiers of the form HH:MM:SS.SSS with an option "+" or "-"
...
prefix. The specified amount of time is added into the date-time begin
modified. (CVS 1277)
FossilOrigin-Name: 559002a52fe3c42fe71ffce364eff4a036ae6b83
2004-02-29 00:40:32 +00:00
drh
eb9a9e8888
Code cleanup in the date and time functions. (CVS 1263)
...
FossilOrigin-Name: 9b3bcde1530091602e551435ffd7820eb79727d5
2004-02-22 17:49:32 +00:00