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

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

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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/misc1.test ('k') | third_party/sqlite/src/test/misc8.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 # 2005 Mar 16 1 # 2005 Mar 16
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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 UNION ALL 564 UNION ALL
565 SELECT * FROM logs 565 SELECT * FROM logs
566 LIMIT (SELECT lmt FROM logs_base) ; 566 LIMIT (SELECT lmt FROM logs_base) ;
567 } 567 }
568 } {1 {no such table: logs_base}} 568 } {1 {no such table: logs_base}}
569 } 569 }
570 570
571 # Overflow the lemon parser stack by providing an overly complex 571 # Overflow the lemon parser stack by providing an overly complex
572 # expression. Make sure that the overflow is detected and reported. 572 # expression. Make sure that the overflow is detected and reported.
573 # 573 #
574 # This test fails when building with -DYYSTACKDEPTH=0
575 #
574 do_test misc5-7.1 { 576 do_test misc5-7.1 {
575 execsql {CREATE TABLE t1(x)} 577 execsql {CREATE TABLE t1(x)}
576 set sql "INSERT INTO t1 VALUES(" 578 set sql "INSERT INTO t1 VALUES("
577 set tail "" 579 set tail ""
578 for {set i 0} {$i<200} {incr i} { 580 for {set i 0} {$i<200} {incr i} {
579 append sql "(1+" 581 append sql "(1+"
580 append tail ")" 582 append tail ")"
581 } 583 }
582 append sql 2$tail 584 append sql 2$tail
583 catchsql $sql 585 catchsql $sql
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after
1883 2305843009213693954\ 1885 2305843009213693954\
1884 4611686018427387902\ 1886 4611686018427387902\
1885 4611686018427387903\ 1887 4611686018427387903\
1886 4611686018427387904\ 1888 4611686018427387904\
1887 4611686018427387905\ 1889 4611686018427387905\
1888 4611686018427387906\ 1890 4611686018427387906\
1889 9223372036854775806\ 1891 9223372036854775806\
1890 9223372036854775807} 1892 9223372036854775807}
1891 1893
1892 finish_test 1894 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/misc1.test ('k') | third_party/sqlite/src/test/misc8.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698