Changeset: e5e8e827f070 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e5e8e827f070
Modified Files:
        clients/Tests/exports.stable.out
        monetdb5/modules/kernel/algebra.mx
Branch: default
Log Message:

Removed unused functions ALGBATminimum and ALGBATmaximum.


diffs (57 lines):

diff --git a/clients/Tests/exports.stable.out b/clients/Tests/exports.stable.out
--- a/clients/Tests/exports.stable.out
+++ b/clients/Tests/exports.stable.out
@@ -728,8 +728,6 @@ str ALARMsleep(int *res, int *secs);
 str ALARMtime(int *res);
 str ALARMtimers(int *res);
 str ALARMusec(lng *ret);
-str ALGBATmaximum(ptr *result, int *bid);
-str ALGBATminimum(ptr *result, int *bid);
 str ALGantijoin(int *result, int *lid, int *rid);
 str ALGantijoin2(int *l, int *r, int *lid, int *rid);
 str ALGantiuselect1(int *result, int *bid, ptr value);
diff --git a/monetdb5/modules/kernel/algebra.mx 
b/monetdb5/modules/kernel/algebra.mx
--- a/monetdb5/modules/kernel/algebra.mx
+++ b/monetdb5/modules/kernel/algebra.mx
@@ -1003,8 +1003,6 @@ algebra_export str ALGmaxany(ptr result,
 algebra_export str ALGtopN(int *res, int *bid, lng *top);
 algebra_export str ALGgroupby(int *res, int *gids, int *cnts);
 algebra_export str ALGcard(lng *result, int *bid);
-algebra_export str ALGBATminimum(ptr *result, int *bid);
-algebra_export str ALGBATmaximum(ptr *result, int *bid);
 algebra_export str ALGsubselect1(bat *result, bat *bid, const void *low, const 
void *high, const bit *li, const bit *hi, const bit *anti);
 algebra_export str ALGsubselect2(bat *result, bat *bid, bat *sid, const void 
*low, const void *high, const bit *li, const bit *hi, const bit *anti);
 algebra_export str ALGthetasubselect1(bat *result, bat *bid, const void *val, 
const char **op);
@@ -1755,32 +1753,6 @@ ALGcard(lng *result, int *bid)
 }
 
 str
-ALGBATminimum(ptr *result, int *bid)
-{
-       BAT *b;
-
-       if ((b = BATdescriptor(*bid)) == NULL) {
-               throw(MAL, "algebra.min", RUNTIME_OBJECT_MISSING);
-       }
-       BATmin(b, result);
-       BBPreleaseref(b->batCacheid);
-       return MAL_SUCCEED;
-}
-
-str
-ALGBATmaximum(ptr *result, int *bid)
-{
-       BAT *b;
-
-       if ((b = BATdescriptor(*bid)) == NULL) {
-               throw(MAL, "algebra.max", RUNTIME_OBJECT_MISSING);
-       }
-       BATmax(b, result);
-       BBPreleaseref(b->batCacheid);
-       return MAL_SUCCEED;
-}
-
-str
 ALGsubselect2(bat *result, bat *bid, bat *sid, const void *low, const void 
*high, const bit *li, const bit *hi, const bit *anti)
 {
        BAT *b, *s = NULL, *bn;
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to