added apache license
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/a5530a72 Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/a5530a72 Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/a5530a72 Branch: refs/heads/master Commit: a5530a7228ae08c599817ef65bfd76fe46e37fc6 Parents: ff33984 Author: Anoop Sharma <[email protected]> Authored: Wed Apr 18 17:58:21 2018 +0000 Committer: Anoop Sharma <[email protected]> Committed: Wed Apr 18 17:58:21 2018 +0000 ---------------------------------------------------------------------- core/sqf/sql/scripts/ilh_regrinit | 22 ++++++++++++++++++++++ core/sqf/sql/scripts/regrinit.sql | 21 +++++++++++++++++++++ 2 files changed, 43 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/a5530a72/core/sqf/sql/scripts/ilh_regrinit ---------------------------------------------------------------------- diff --git a/core/sqf/sql/scripts/ilh_regrinit b/core/sqf/sql/scripts/ilh_regrinit index 22ecdd3..3d7bf4e 100755 --- a/core/sqf/sql/scripts/ilh_regrinit +++ b/core/sqf/sql/scripts/ilh_regrinit @@ -1,3 +1,25 @@ +#!/bin/bash +# @@@ START COPYRIGHT @@@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# @@@ END COPYRIGHT @@@ + echo "executing: sqlci -> regrinit.sql" sqlci <<EOF obey $TRAF_HOME/sql/scripts/regrinit.sql; http://git-wip-us.apache.org/repos/asf/trafodion/blob/a5530a72/core/sqf/sql/scripts/regrinit.sql ---------------------------------------------------------------------- diff --git a/core/sqf/sql/scripts/regrinit.sql b/core/sqf/sql/scripts/regrinit.sql index ba0ac7e..bde8aa7 100755 --- a/core/sqf/sql/scripts/regrinit.sql +++ b/core/sqf/sql/scripts/regrinit.sql @@ -1,3 +1,24 @@ +-- @@@ START COPYRIGHT @@@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, +-- software distributed under the License is distributed on an +-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-- KIND, either express or implied. See the License for the +-- specific language governing permissions and limitations +-- under the License. +-- +-- @@@ END COPYRIGHT @@@ + -- initializes environment needed for sql dev regressions upsert into TRAFODION."_MD_".DEFAULTS values
