On Fri, Feb 22, 2008 at 08:35:12PM +0000, Jan Rittinger wrote:
> Update of /cvsroot/monetdb/pathfinder/compiler/algebra
> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15561/algebra
> 
> Modified Files:
>       Tag: XQuery_0-22
>       algebra_cse.c 
> Log Message:
> -- Properly initialize the subexpression list
> 
>    (Please do not propagate to the CVS HEAD.
>     A better solution has to be found.)

propagation has been prevented.

Stefan

> 
> Index: algebra_cse.c
> ===================================================================
> RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/algebra_cse.c,v
> retrieving revision 1.66
> retrieving revision 1.66.2.1
> diff -u -d -r1.66 -r1.66.2.1
> --- algebra_cse.c     1 Feb 2008 13:31:59 -0000       1.66
> +++ algebra_cse.c     22 Feb 2008 20:35:10 -0000      1.66.2.1
> @@ -582,6 +582,9 @@
>      PFla_op_t *res;
>  
>      subexps = PFarray (sizeof (PFarray_t *));
> +    /* properly initialize list of subexpressions */
> +    for (unsigned int i = 0; i < la_dummy /* the last op */; i++)
> +        *(PFarray_t **) PFarray_at (subexps, i) = NULL;
>  
>      res = la_cse (n);
>      PFla_dag_reset (res);

-- 
| Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] |
| CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
| 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
| The Netherlands     | Fax : +31 (20) 592-4312       |

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to