Changeset: 9d109a3c02ef for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9d109a3c02ef
Added Files:
        sql/scripts/17_temporal.sql
Removed Files:
        sql/scripts/temporal.sql
Modified Files:
        sql/scripts/Makefile.ag
Branch: default
Log Message:

Move temporal primitives into correct file structure


diffs (79 lines):

diff --git a/sql/scripts/17_temporal.sql b/sql/scripts/17_temporal.sql
new file mode 100644
--- /dev/null
+++ b/sql/scripts/17_temporal.sql
@@ -0,0 +1,26 @@
+-- The contents of this file are subject to the MonetDB Public License
+-- Version 1.1 (the "License"); you may not use this file except in
+-- compliance with the License. You may obtain a copy of the License at
+-- http://www.monetdb.org/Legal/MonetDBLicense
+--
+-- Software distributed under the License is distributed on an "AS IS"
+-- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+-- License for the specific language governing rights and limitations
+-- under the License.
+--
+-- The Original Code is the MonetDB Database System.
+--
+-- The Initial Developer of the Original Code is CWI.
+-- Portions created by CWI are Copyright (C) 1997-July 2008 CWI.
+-- Copyright August 2008-2015 MonetDB B.V.
+-- All Rights Reserved.
+
+-- assume milliseconds when converted to TIMESTAMP
+create function "epoch"(sec BIGINT) returns TIMESTAMP
+    external name timestamp."epoch";
+
+create function "epoch"(sec INT) returns TIMESTAMP
+       external name timestamp."epoch";
+
+create function "epoch"(ts TIMESTAMP) returns INT
+       external name timestamp."epoch";
diff --git a/sql/scripts/Makefile.ag b/sql/scripts/Makefile.ag
--- a/sql/scripts/Makefile.ag
+++ b/sql/scripts/Makefile.ag
@@ -28,6 +28,7 @@ headers_sql = {
                14_inet.sql \
                15_querylog.sql \
                16_tracelog.sql \
+               17_temporal.sql \
                19_cluster.sql \
                20_vacuum.sql \
                21_dependency_functions.sql \
@@ -56,8 +57,7 @@ headers_moresql = {
        HEADERS = sql
        DIR = libdir/monetdb5
        SOURCES = \
-               cache.sql octopus.sql parts.sql \
-               temporal.sql
+               cache.sql octopus.sql parts.sql 
 }
 
 headers_rdf = {
diff --git a/sql/scripts/temporal.sql b/sql/scripts/temporal.sql
deleted file mode 100644
--- a/sql/scripts/temporal.sql
+++ /dev/null
@@ -1,22 +0,0 @@
--- The contents of this file are subject to the MonetDB Public License
--- Version 1.1 (the "License"); you may not use this file except in
--- compliance with the License. You may obtain a copy of the License at
--- http://www.monetdb.org/Legal/MonetDBLicense
---
--- Software distributed under the License is distributed on an "AS IS"
--- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
--- License for the specific language governing rights and limitations
--- under the License.
---
--- The Original Code is the MonetDB Database System.
---
--- The Initial Developer of the Original Code is CWI.
--- Portions created by CWI are Copyright (C) 1997-July 2008 CWI.
--- Copyright August 2008-2015 MonetDB B.V.
--- All Rights Reserved.
-
-create function "epoch"(sec INT) returns TIMESTAMP
-       external name timestamp."epoch";
-
-create function "epoch"(ts TIMESTAMP) returns INT
-       external name timestamp."epoch";
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to