Changeset: 394707c186c7 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=394707c186c7 Modified Files: MonetDB5/src/optimizer/opt_datacyclotron.mx Branch: default Log Message:
Initialize the variable otherwise you will never enter in the loop. diffs (12 lines): diff -r e10a0732838c -r 394707c186c7 MonetDB5/src/optimizer/opt_datacyclotron.mx --- a/MonetDB5/src/optimizer/opt_datacyclotron.mx Mon Aug 23 16:38:52 2010 +0200 +++ b/MonetDB5/src/optimizer/opt_datacyclotron.mx Mon Aug 23 16:53:50 2010 +0200 @@ -120,6 +120,8 @@ DCYcatalog *reg = NULL; int chunks = 0, parts = 0, j = 0; + reg = catalog; + while(reg) { chunks++; for (j = 0; j < reg->partitions; j++) _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list