mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Work to remove harmless MSVC compiler warnings. (CVS 6013)
FossilOrigin-Name: 715dcd52c1372c62873cff5db97fdbdfce617808
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
** sqlite3RegisterDateTimeFunctions() found at the bottom of the file.
|
||||
** All other code has file scope.
|
||||
**
|
||||
** $Id: date.c,v 1.97 2008/12/10 21:19:57 drh Exp $
|
||||
** $Id: date.c,v 1.98 2008/12/10 22:30:25 shane Exp $
|
||||
**
|
||||
** SQLite processes all times and dates as Julian Day numbers. The
|
||||
** dates and times are stored as the number of days since noon
|
||||
@@ -550,7 +550,7 @@ static int parseModifier(const char *zMod, DateTime *p){
|
||||
** seconds since 1970. Convert to a real julian day number.
|
||||
*/
|
||||
if( strcmp(z, "unixepoch")==0 && p->validJD ){
|
||||
p->iJD = p->iJD*10/864000 + 210866760000000LL;
|
||||
p->iJD = p->iJD/86400 + 210866760000000LL;
|
||||
clearYMD_HMS_TZ(p);
|
||||
rc = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user