Changeset: fca536d409d7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fca536d409d7
Modified Files:
monetdb5/optimizer/opt_coercion.c
Branch: default
Log Message:
OPTcoercionImplementation(): pure code layout for readability
diffs (17 lines):
diff --git a/monetdb5/optimizer/opt_coercion.c
b/monetdb5/optimizer/opt_coercion.c
--- a/monetdb5/optimizer/opt_coercion.c
+++ b/monetdb5/optimizer/opt_coercion.c
@@ -125,7 +125,12 @@ OPTcoercionImplementation(Client cntxt,M
* The code template can be extended to handle other downscale options as well
*/
#ifdef HAVE_HGE
- if ( getModuleId(p) == batcalcRef && getFunctionId(p) == hgeRef
&& p->retc == 1 && p->argc == 5 && isVarConstant(mb,getArg(p,4)) &&
isVarConstant(mb,getArg(p,3)) ){
+ if ( getModuleId(p) == batcalcRef
+ && getFunctionId(p) == hgeRef
+ && p->retc == 1
+ && p->argc == 5
+ && isVarConstant(mb,getArg(p,4))
+ && isVarConstant(mb,getArg(p,3)) ){
k = getArg(p,0);
coerce[k].pc= i;
coerce[k].totype= TYPE_hge;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list