mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Limit the range of integer unix timestamps in date4.test, since some systems
(RaspberryPI) cannot deal with timestamp values that exceed pow(2,31). FossilOrigin-Name: 765290663b28e90a0494997baf023f9610a4ed32f0ff0099bf9fc3d485733fca
This commit is contained in:
@ -28,7 +28,7 @@ if {$tcl_platform(os)=="Linux"} {
|
||||
} else {
|
||||
set FMT {%d,%e,%F,%H,%I,%j,%p,%R,%u,%w,%W,%%}
|
||||
}
|
||||
for {set i 0} {$i<=86400} {incr i} {
|
||||
for {set i 0} {$i<=24854} {incr i} {
|
||||
set TS [expr {$i*86401}]
|
||||
do_execsql_test date4-$i {
|
||||
SELECT strftime($::FMT,$::TS,'unixepoch');
|
||||
|
Reference in New Issue
Block a user