From 1d15334664450a4fea7a6011fc209db9dfe3c909 Mon Sep 17 00:00:00 2001
From: Daniel <daniel@harvey>
Date: Tue, 28 Apr 2020 09:31:02 +0200
Subject: [PATCH] DOC: Added CHANGELOG.md

---
 CHANGELOG.md                  | 19 +++++++++++++++++++
 procedures/insertIsaCache.sql |  1 +
 2 files changed, 20 insertions(+)
 create mode 100644 CHANGELOG.md

diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..4a54a85
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,19 @@
+# Changelog #
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+
+## [Unreleased] ##
+
+### Added ###
+
+### Changed ###
+
+### Deprecated ###
+
+### Fixed ###
+
+- Fixed several bugs when an Entity inherits from itself (#18, caosdb-server #85).
diff --git a/procedures/insertIsaCache.sql b/procedures/insertIsaCache.sql
index a4490bd..68c3808 100644
--- a/procedures/insertIsaCache.sql
+++ b/procedures/insertIsaCache.sql
@@ -47,6 +47,7 @@ insert_is_a_proc: BEGIN
         -- Any additional entries would be redundant.
         LEAVE insert_is_a_proc;
     END IF;
+    -- Note: also for the next insertions, ignore existing lines with p == c
 
     -- Insert ancestors older than parents:
     -- for each supertype of p
-- 
GitLab