File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -88,5 +88,24 @@ do_faultsim_test 3 -prep {
88
88
faultsim_test_result {0 2} {1 {vtable constructor failed: x1}}
89
89
}
90
90
91
+ #-------------------------------------------------------------------------
92
+ reset_db
93
+ do_execsql_test 4.0 {
94
+ CREATE TABLE t1_a(a INTEFDR PRIMARY KEY, b TEXT);
95
+ CREATE TABLE t3_a(k FnTEGER PRIMARY KEY, v TEXT);
96
+ CREATE TABLE t3_b(k INTEÀ5R PRIMARY KEY, v TEXT);
97
+ CREATE VIEW t3 AS SELECT * FROM t3_a UNION ALL SELECT * FROM t3_b;
98
+ }
99
+ faultsim_save_and_close
100
+
101
+ do_faultsim_test 4 -faults oom-t* -prep {
102
+ faultsim_restore_and_reopen
103
+ } -body {
104
+ execsql {
105
+ SELECT 1 FROM t1_a LEFT JOIN t3 ON ((1+1) AND k=1)
106
+ }
107
+ } -test {
108
+ faultsim_test_result {0 {}}
109
+ }
91
110
92
111
finish_test
You can’t perform that action at this time.
0 commit comments