Update of /cvsroot/monetdb/pathfinder/compiler/algebra/opt
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17731/algebra/opt
Modified Files:
opt_algebra_cse.c
Log Message:
-- Added missing support for frag_extract operator.
(This fixes bug #2757113.)
U opt_algebra_cse.c
Index: opt_algebra_cse.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/opt/opt_algebra_cse.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- opt_algebra_cse.c 10 Mar 2009 12:20:40 -0000 1.49
+++ opt_algebra_cse.c 14 Apr 2009 20:02:04 -0000 1.50
@@ -1201,6 +1201,7 @@
case la_fun_call:
case la_fun_param:
case la_fun_frag_param:
+ case la_frag_extract:
return false;
case la_proxy:
@@ -1223,9 +1224,8 @@
return false;
case la_dummy:
+ case la_internal_op:
break;
- default:
- return false;
}
PFoops (OOPS_FATAL, "this should not occur (match)");
@@ -2146,15 +2146,18 @@
return PFla_fun_frag_param (
CSE (L(n)), CSE(R(n)),
n->sem.col_ref.pos);
+ case la_frag_extract:
+ return PFla_frag_extract (
+ CSE (L(n)),
+ n->sem.col_ref.pos);
case la_proxy:
case la_proxy_base:
+ case la_internal_op:
PFoops (OOPS_FATAL,
"Logical operator cloning does not"
"support node kind (%s).",
ID[n->kind]);
break;
- default:
- return NULL;
}
return NULL; /* satisfy picky compilers */
}
@@ -2515,6 +2518,7 @@
case la_fragment:
case la_empty_frag:
case la_frag_union:
+ case la_frag_extract:
/* this operator doesn't have schema information and thus no
* projection list */
actmap = create_actcol_map ();
@@ -2606,11 +2610,6 @@
PFoops (OOPS_FATAL,
"In this plan dummy operators should not occur");
break;
-
- default:
- PFoops (OOPS_FATAL,
- "This operator is not implemented");
- break;
}
INACT (ori, actmap);
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins