File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,8 @@ shared_ptr<prod> statement_factory(struct scope *s)
467
467
{
468
468
try {
469
469
s->new_stmt ();
470
- return make_shared<merge_stmt>((struct prod *)0 , s);
470
+ if (d42 () == 1 )
471
+ return make_shared<merge_stmt>((struct prod *)0 , s);
471
472
if (d42 () == 1 )
472
473
return make_shared<insert_stmt>((struct prod *)0 , s);
473
474
else if (d42 () == 1 )
@@ -539,7 +540,7 @@ void common_table_expression::out(std::ostream &out)
539
540
540
541
merge_stmt::merge_stmt (prod *p, struct scope *s, table *v)
541
542
: modifying_stmt(p,s,v) {
542
-
543
+ match ();
543
544
target_table_ = make_shared<target_table>(this , victim);
544
545
data_source = table_ref::factory (this );
545
546
// join_condition = join_cond::factory(this, *target_table_, *data_source);
You can’t perform that action at this time.
0 commit comments