Skip to content
Snippets Groups Projects
Verified Commit 28e39a70 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

DOC: CHANGELOG

parent d9210d85
Branches
Tags
No related merge requests found
...@@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated ### ### Deprecated ###
### Removed ### ### Removed ###
* unused procedures: * unused procedures:
...@@ -46,6 +47,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -46,6 +47,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### ### Fixed ###
* 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
`>=` and `<=` operators for date and datetime is unintuitive and the operators
should have another name. Something like "overlap with or smaller/greater
than".
* Semi-fix in `retrieveEntityParents`. The old implementation was buggy and * Semi-fix in `retrieveEntityParents`. The old implementation was buggy and
would return no parent name or even a wrong one for old entity versions in would return no parent name or even a wrong one for old entity versions in
some cases. The semi-fix will allways return the current name of the parent some cases. The semi-fix will allways return the current name of the parent
......
...@@ -85,7 +85,14 @@ BEGIN ...@@ -85,7 +85,14 @@ BEGIN
RETURN CONCAT(" ", RETURN CONCAT(" ",
seconds_col, operator, vDateTimeSecLow, IF(vDateTimeNSLow IS NULL, '', CONCAT(' OR (',seconds_col,'=', vDateTimeSecLow, ' AND ',nanos_col, operator, vDateTimeNSLow, ')'))); seconds_col, operator, vDateTimeSecLow, IF(vDateTimeNSLow IS NULL, '', CONCAT(' OR (',seconds_col,'=', vDateTimeSecLow, ' AND ',nanos_col, operator, vDateTimeNSLow, ')')));
ELSEIF operator = '>=' or operator = '<=' THEN ELSEIF operator = '>=' or operator = '<=' THEN
RETURN CONCAT(" ",seconds_col, operator, vDateTimeSecLow, IF(vDateTimeNSLow IS NULL, '', CONCAT(' AND (',seconds_col, operator_prefix, vDateTimeSecLow, ' OR ',nanos_col, operator, vDateTimeNSLow, ')'))); RETURN CONCAT(
" ", seconds_col, operator, vDateTimeSecLow,
IF(vDateTimeNSLow IS NULL,
'',
CONCAT(
' AND (', seconds_col, operator_prefix, vDateTimeSecLow,
' OR ', nanos_col, operator, vDateTimeNSLow,
' OR ', nanos_col, ' IS NULL)')));
ELSEIF operator = "(" THEN ELSEIF operator = "(" THEN
RETURN IF(vDateTimeNSLow IS NULL,CONCAT(" ",seconds_col,"=", vDateTimeSecLow),CONCAT(" ",seconds_col,"=",vDateTimeSecLow," AND ",nanos_col,"=",vDateTimeNSLow)); RETURN IF(vDateTimeNSLow IS NULL,CONCAT(" ",seconds_col,"=", vDateTimeSecLow),CONCAT(" ",seconds_col,"=",vDateTimeSecLow," AND ",nanos_col,"=",vDateTimeNSLow));
ELSEIF operator = "!(" THEN ELSEIF operator = "!(" THEN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment