Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13441/src/optimizer

Modified Files:
        opt_replicator.mx 
Log Message:
initialize clk variable


Index: opt_replicator.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_replicator.mx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- opt_replicator.mx   12 Feb 2008 16:11:34 -0000      1.14
+++ opt_replicator.mx   13 Feb 2008 09:48:23 -0000      1.15
@@ -397,7 +397,7 @@
 {
        int tpe, rr;
        BAT *bn, *br;
-       lng cnt=0,clk;
+       lng cnt=0, clk = 0;
        Replica r;
        sht ov;
 
@@ -409,9 +409,9 @@
        /* execute selection if needed */
        if((retain == 0) ||     /* normal execution + keep stat */
           ((retain == 1) && (ov < 0))){        /* no overlap in exist. repl. */
-               clk= GDKusec();
+               clk = GDKusec();
                bn = BAT_select_(b, low, hgh, li, hi, tl, FALSE);
-               clk= GDKusec()-clk;
+               clk = GDKusec()-clk;
 
                 if (bn) {
                        if (!(bn->batDirty&2)) bn = BATsetaccess(bn, BAT_READ);


-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to