diff --git a/CHANGELOG.md b/CHANGELOG.md index 64a0884f8f622824bb20d2711134e4a4a99e46f7..399dbc8c4c7ac60e883ee07325aae2accd999e98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### +* #23 Incompatibility with MariaDB 10.3 * Fixed the `>=` and `<=` operators for comparisons in POV query filters with stored DATE values. The fix makes the implementation consistent However, the current definition and implementation of the diff --git a/procedures/retrieveEntity.sql b/procedures/retrieveEntity.sql index c1fc7de0199097cd1c476b4e6d7ab525f99baabe..4118cb3b5147c24580f73cc24bc7e1b84d4cfc16 100644 --- a/procedures/retrieveEntity.sql +++ b/procedures/retrieveEntity.sql @@ -77,7 +77,7 @@ retrieveEntityBody: BEGIN IF IVersion IS NULL THEN -- RETURN EARLY - Version does not exist. - SELECT 0 WHERE 0 = 1; + SELECT 0 FROM entities WHERE 0 = 1; LEAVE retrieveEntityBody; END IF;