Changeset: 592884675e19 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=592884675e19
Removed Files:
        sql/backends/monet5/BDCC/gs.mal
Modified Files:
        sql/backends/monet5/BDCC/Makefile.ag
Branch: BDCC
Log Message:

Didn't know that generate_series already existed.


diffs (53 lines):

diff --git a/sql/backends/monet5/BDCC/Makefile.ag 
b/sql/backends/monet5/BDCC/Makefile.ag
--- a/sql/backends/monet5/BDCC/Makefile.ag
+++ b/sql/backends/monet5/BDCC/Makefile.ag
@@ -41,7 +41,7 @@ lib__bdcc = {
 headers_mal = {
        HEADERS = mal
        DIR = libdir/monetdb5
-       SOURCES = bdcc.mal gs.mal
+       SOURCES = bdcc.mal
 }
 
 # headers_sql = {
@@ -53,7 +53,7 @@ headers_mal = {
 headers_autoload = {
        HEADERS = mal
        DIR = libdir/monetdb5/autoload
-       SOURCES = 82_bdcc.mal 83_gs.mal
+       SOURCES = 82_bdcc.mal
 }
 
 # EXTRA_DIST_DIR = Tests
diff --git a/sql/backends/monet5/BDCC/gs.mal b/sql/backends/monet5/BDCC/gs.mal
deleted file mode 100644
--- a/sql/backends/monet5/BDCC/gs.mal
+++ /dev/null
@@ -1,27 +0,0 @@
-module gs;
-
-function generate_series(start:int, end:int):bat[:oid, :int];
-    i := start;
-    res := bat.new(:oid, :int);
-
-    barrier b := i<=end;
-        bat.append(res, i);
-        i := i + 1;
-        redo b := i<=end;
-    exit b;
-
-    return res;
-end generate_series;
-
-function generate_series(start:int, end:int, inc:int):bat[:oid, :int];
-    i := start;
-    res := bat.new(:oid, :int);
-    
-    barrier b := i<=end;
-        bat.append(res, i);
-        i := i + inc;
-        redo b := i<=end;
-    exit b;
- 
-    return res;
-end generate_series;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to