OLD | NEW |
1 # 2005 January 19 | 1 # 2005 January 19 |
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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 SELECT (SELECT (SELECT c7+c8+max(c9) FROM t9) FROM t8) FROM t7 | 577 SELECT (SELECT (SELECT c7+c8+max(c9) FROM t9) FROM t8) FROM t7 |
578 } | 578 } |
579 } {30101 30102 30103} | 579 } {30101 30102 30103} |
580 do_test subquery-7.11 { | 580 do_test subquery-7.11 { |
581 execsql { | 581 execsql { |
582 SELECT (SELECT (SELECT max(c7)+max(c8)+max(c9) FROM t9) FROM t8) FROM t7 | 582 SELECT (SELECT (SELECT max(c7)+max(c8)+max(c9) FROM t9) FROM t8) FROM t7 |
583 } | 583 } |
584 } {30303} | 584 } {30303} |
585 } ;############# Disabled | 585 } ;############# Disabled |
586 | 586 |
| 587 # 2015-04-21. |
| 588 # Verify that a memory leak in the table column type and collation analysis |
| 589 # is plugged. |
| 590 # |
| 591 do_execsql_test subquery-8.1 { |
| 592 CREATE TABLE t8(a TEXT, b INT); |
| 593 SELECT (SELECT 0 FROM (SELECT * FROM t1)) AS x WHERE x; |
| 594 SELECT (SELECT 0 FROM (SELECT * FROM (SELECT 0))) AS x WHERE x; |
| 595 } {} |
| 596 |
587 finish_test | 597 finish_test |
OLD | NEW |