Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Side by Side Diff: third_party/sqlite/src/test/date.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/test/cursorhint.test ('k') | third_party/sqlite/src/test/delete.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 2003 October 31 1 # 2003 October 31
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 if {$tzoffset_new==4 && $tzoffset_old==5} { 329 if {$tzoffset_new==4 && $tzoffset_old==5} {
330 datetest 6.7 {datetime('2000-04-02 01:59:00','utc')} {2000-04-02 06:59:00} 330 datetest 6.7 {datetime('2000-04-02 01:59:00','utc')} {2000-04-02 06:59:00}
331 datetest 6.7.1 {datetime('2006-04-02 01:59:00','utc')} {2006-04-02 06:59:00} 331 datetest 6.7.1 {datetime('2006-04-02 01:59:00','utc')} {2006-04-02 06:59:00}
332 } 332 }
333 datetest 6.7.2 {datetime('2007-03-11 01:59:00','utc')} {2007-03-11 06:59:00} 333 datetest 6.7.2 {datetime('2007-03-11 01:59:00','utc')} {2007-03-11 06:59:00}
334 334
335 datetest 6.8 {datetime('2000-04-02 02:00:00','utc')} {2000-04-02 06:00:00} 335 datetest 6.8 {datetime('2000-04-02 02:00:00','utc')} {2000-04-02 06:00:00}
336 datetest 6.8.1 {datetime('2006-04-02 02:00:00','utc')} {2006-04-02 06:00:00} 336 datetest 6.8.1 {datetime('2006-04-02 02:00:00','utc')} {2006-04-02 06:00:00}
337 datetest 6.8.2 {datetime('2007-03-11 02:00:00','utc')} {2007-03-11 06:00:00} 337 datetest 6.8.2 {datetime('2007-03-11 02:00:00','utc')} {2007-03-11 06:00:00}
338 338
339 # The 'utc' modifier is a no-op if the LHS is known to already be in UTC
340 datetest 6.9.1 {datetime('2015-12-23 12:00:00','utc')} {2015-12-23 17:00:00}
341 datetest 6.9.2 {datetime('2015-12-23 12:00:00z','utc')} {2015-12-23 12:00:00}
342 datetest 6.9.3 {datetime('2015-12-23 12:00:00-03:00','utc')} \
343 {2015-12-23 15:00:00}
344 datetest 6.9.4 {datetime('2015-12-23 12:00:00','utc','utc','utc')} \
345 {2015-12-23 17:00:00}
346
347
339 datetest 6.10 {datetime('2000-01-01 12:00:00','localtime')} \ 348 datetest 6.10 {datetime('2000-01-01 12:00:00','localtime')} \
340 {2000-01-01 07:00:00} 349 {2000-01-01 07:00:00}
341 datetest 6.11 {datetime('1969-01-01 12:00:00','localtime')} \ 350 datetest 6.11 {datetime('1969-01-01 12:00:00','localtime')} \
342 {1969-01-01 07:00:00} 351 {1969-01-01 07:00:00}
343 datetest 6.12 {datetime('2039-01-01 12:00:00','localtime')} \ 352 datetest 6.12 {datetime('2039-01-01 12:00:00','localtime')} \
344 {2039-01-01 07:00:00} 353 {2039-01-01 07:00:00}
345 datetest 6.13 {datetime('2000-07-01 12:00:00','localtime')} \ 354 datetest 6.13 {datetime('2000-07-01 12:00:00','localtime')} \
346 {2000-07-01 08:00:00} 355 {2000-07-01 08:00:00}
347 datetest 6.14 {datetime('1969-07-01 12:00:00','localtime')} \ 356 datetest 6.14 {datetime('1969-07-01 12:00:00','localtime')} \
348 {1969-07-01 07:00:00} 357 {1969-07-01 07:00:00}
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 } 554 }
546 } {0.0} 555 } {0.0}
547 do_test date-15.2 { 556 do_test date-15.2 {
548 db eval { 557 db eval {
549 SELECT a==b FROM (SELECT current_timestamp AS a, 558 SELECT a==b FROM (SELECT current_timestamp AS a,
550 sleeper(), current_timestamp AS b); 559 sleeper(), current_timestamp AS b);
551 } 560 }
552 } {1} 561 } {1}
553 562
554 finish_test 563 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/cursorhint.test ('k') | third_party/sqlite/src/test/delete.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698