OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |