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 632cae1a6815e61a78d4118c1153ddfb25d4cc19..b2df703ddf8d52a93ca389f7b168547ae40677dd 100644 --- a/procedures/retrieveEntity.sql +++ b/procedures/retrieveEntity.sql @@ -80,7 +80,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;