projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r10700: fix xargs chmod
[clsql.git]
/
sql
/
time.lisp
diff --git
a/sql/time.lisp
b/sql/time.lisp
index 8cc77241b14ac8a2c31b6a06e43854799c270484..c767018285e4e38b34361de77a0464ba4a778c01 100644
(file)
--- a/
sql/time.lisp
+++ b/
sql/time.lisp
@@
-938,13
+938,14
@@
with the given options"
(let ((mjd (time-mjd date))
(sec (time-second date))
(usec (time-usec date)))
(let ((mjd (time-mjd date))
(sec (time-second date))
(usec (time-usec date)))
- (multiple-value-bind (
usec-new sec
)
+ (multiple-value-bind (
sec-new usec-new
)
(floor (+ usec
(* 1000000
(+ sec second
(* 60 minute)
(* 60 60 hour))))
1000000)
(floor (+ usec
(* 1000000
(+ sec second
(* 60 minute)
(* 60 60 hour))))
1000000)
+ (declare (ignore sec-new))
(multiple-value-bind (mjd-new sec-new)
(floor sec (* 60 60 24))
(if destructive
(multiple-value-bind (mjd-new sec-new)
(floor sec (* 60 60 24))
(if destructive