int tblvar=infer_tablevar_from_colref(qs->mvars[cv],fta_tree->fm,schema);
if(tblvar<0){
fprintf(stderr,"ERROR, Merge column %d (%s) was not found in any of the tables.\n",cv,qs->mvars[cv]->to_string().c_str());
+ exit(1);
}
refd_sources.insert(tblvar);
tmp_crl[tblvar] = qs->mvars[cv];
case PRED_IN:
ldt = pr->get_left_se()->get_data_type();
if(ldt->complex_comparison(ldt) ){
- fcn_set.insert( ldt->get_comparison_fcn(ldt) );
+ fcn_set.insert( ldt->get_equals_fcn(ldt) );
}
gather_se_opcmp_fcns(pr->get_left_se(), fcn_set);
return;
ldt = pr->get_left_se()->get_data_type();
rdt = pr->get_right_se()->get_data_type();
if(ldt->complex_comparison(rdt) ){
- fcn_set.insert( ldt->get_comparison_fcn(rdt) );
+ fcn_set.insert( ldt->get_comparison_fcn(ldt) );
}
gather_se_opcmp_fcns(pr->get_left_se(),fcn_set) ;
gather_se_opcmp_fcns(pr->get_right_se(),fcn_set) ;