Changeset: 44e8bbd43721 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=44e8bbd43721
Modified Files:
        clients/Tests/exports.stable.out
        monetdb5/modules/mal/array.mx
Branch: sciql
Log Message:

array.mx clean-up: removed not implemented 
array.{isFixed,isUnbounded,getDimensions}()

dead code remains available in the HG attic


diffs (82 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
@@ -785,9 +785,6 @@ str ALGuselect1(int *result, int *bid, p
 str ALGuselectInclusive(int *result, int *bid, ptr low, ptr high, bit *lin, 
bit *rin);
 str ARRAYfiller(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
 str ARRAYfiller_bat(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
-str ARRAYgetDimensions(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
-str ARRAYisFixed(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
-str ARRAYisUnbounded(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
 str ARRAYmap(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
 str ARRAYmultiply_dbl_dbl(int *ret, int *bid, int *rid);
 str ARRAYmultiply_flt_flt(int *ret, int *bid, int *rid);
diff --git a/monetdb5/modules/mal/array.mx b/monetdb5/modules/mal/array.mx
--- a/monetdb5/modules/mal/array.mx
+++ b/monetdb5/modules/mal/array.mx
@@ -147,18 +147,6 @@ pattern unmap(cells:bat[:oid,:oid], dims
 address ARRAYumap
 comment "Extract the index columns from a shape based on the cell identifier 
list";
 
-pattern isFixed(dims:bat[:oid,:any]...):bit
-address ARRAYisFixed
-comment "Determine fixed size property of an array";
-
-pattern isUnbounded(dims:bat[:oid,:any]...):bit
-address ARRAYisUnbounded
-comment "Determine unboundedness property of an array";
-
-pattern getDimensions(dims:bat[:oid,:any]...):int...
-address ARRAYgetDimensions
-comment "Extract the series sizes";
-
 pattern replace(v1:bat[:oid, :any_1], idx:bat[:oid, :oid], 
v2:any_1):bat[:oid,:any_1]
 address ARRAYreplaceScalar
 comment "Replace values in v1 at the positions determined by idx with v2, 
return the modified v1.";
@@ -194,9 +182,6 @@ comment "Produce an array product";
 #define array_export extern
 #endif
 
-array_export str ARRAYisFixed(Client cntxt, MalBlkPtr mb, MalStkPtr stk, 
InstrPtr p);
-array_export str ARRAYisUnbounded(Client cntxt, MalBlkPtr mb, MalStkPtr stk, 
InstrPtr p);
-array_export str ARRAYgetDimensions(Client cntxt, MalBlkPtr mb, MalStkPtr stk, 
InstrPtr p);
 array_export str ARRAYproduct(int *ret, int *bid, int *rid);
 array_export str ARRAYfiller_bat(Client cntxt, MalBlkPtr mb, MalStkPtr stk, 
InstrPtr p);
 array_export str ARRAYfiller(Client cntxt, MalBlkPtr mb, MalStkPtr stk, 
InstrPtr p);
@@ -566,36 +551,6 @@ ARRAYumap(Client cntxt, MalBlkPtr mb, Ma
 }
 
 str
-ARRAYisFixed(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p)
-{
-       (void) cntxt;
-       (void) mb;
-       (void) stk;
-       (void) p;
-       throw(MAL,"array.isFixed", PROGRAM_NYI);
-}
-
-str
-ARRAYisUnbounded(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p)
-{
-       (void) cntxt;
-       (void) mb;
-       (void) stk;
-       (void) p;
-       throw(MAL,"array.isUnbounded", PROGRAM_NYI);
-}
-
-str
-ARRAYgetDimensions(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p)
-{
-       (void) cntxt;
-       (void) mb;
-       (void) stk;
-       (void) p;
-       throw(MAL,"array.getDimensions", PROGRAM_NYI);
-}
-
-str
 ARRAYreplace(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci)
 {
        BAT *b, *bo, *bc, *bv,*bn;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to