Updated Branches: refs/heads/master 85f427cf5 -> d86c1fa14 Updated Tags: refs/tags/3.0.0-incubating e14e32178 -> 76ae02964
fixed MARMOTTA-185 (drop indexes for MySQL has different syntax) Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/d86c1fa1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/d86c1fa1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/d86c1fa1 Branch: refs/heads/master Commit: d86c1fa1489020e7123f43e7ab18c1d748590439 Parents: 85f427c Author: Sebastian Schaffert <[email protected]> Authored: Mon Apr 8 15:10:54 2013 +0200 Committer: Sebastian Schaffert <[email protected]> Committed: Mon Apr 8 15:10:54 2013 +0200 ---------------------------------------------------------------------- .../kiwi/persistence/h2/drop_versioning_tables.sql | 6 +++--- .../persistence/mysql/drop_versioning_tables.sql | 6 +++--- .../kiwi/persistence/h2/drop_ldcache_tables.sql | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/d86c1fa1/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_versioning_tables.sql ---------------------------------------------------------------------- diff --git a/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_versioning_tables.sql b/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_versioning_tables.sql index 1188d08..f86fe6a 100644 --- a/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_versioning_tables.sql +++ b/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_versioning_tables.sql @@ -12,9 +12,9 @@ -- 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. -DROP INDEX idx_versions_added; -DROP INDEX idx_versions_removed; -DROP INDEX idx_versions_created; +DROP INDEX IF EXISTS idx_versions_added; +DROP INDEX IF EXISTS idx_versions_removed; +DROP INDEX IF EXISTS idx_versions_created; DROP TABLE IF EXISTS versions_added; http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/d86c1fa1/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/drop_versioning_tables.sql ---------------------------------------------------------------------- diff --git a/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/drop_versioning_tables.sql b/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/drop_versioning_tables.sql index ab21bbf..4b9537e 100644 --- a/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/drop_versioning_tables.sql +++ b/libraries/kiwi/kiwi-versioning/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/drop_versioning_tables.sql @@ -12,9 +12,9 @@ -- 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. -DROP INDEX idx_versions_added; -DROP INDEX idx_versions_removed; -DROP INDEX idx_versions_created; +DROP INDEX idx_versions_added on versions_added; +DROP INDEX idx_versions_removed on versions_removed; +DROP INDEX idx_versions_created on versions; DROP TABLE IF EXISTS versions_added; http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/d86c1fa1/libraries/ldcache/ldcache-backend-kiwi/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_ldcache_tables.sql ---------------------------------------------------------------------- diff --git a/libraries/ldcache/ldcache-backend-kiwi/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_ldcache_tables.sql b/libraries/ldcache/ldcache-backend-kiwi/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_ldcache_tables.sql index ab88ab3..0f89b36 100644 --- a/libraries/ldcache/ldcache-backend-kiwi/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_ldcache_tables.sql +++ b/libraries/ldcache/ldcache-backend-kiwi/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/drop_ldcache_tables.sql @@ -12,8 +12,8 @@ -- 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. -DROP INDEX idx_ldcache_expires; -DROP INDEX idx_ldcache_resource; +DROP INDEX IF EXISTS idx_ldcache_expires; +DROP INDEX IF EXISTS idx_ldcache_resource; DROP TABLE IF EXISTS ldcache_entries;
