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

FIX: wrong concatenation in getDateTimeWhereClause

parent 81942a1e
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ BEGIN
IF mon != 0 and dom != 0 THEN
-- Full date YYYY-MM-DD
RETURN CONCAT(" subdata.value>=", vILB_Date,
" or (subdata.value>=", yea*10000 + mon*100, " and subdata.value%100=0)" +
" or (subdata.value>=", yea*10000 + mon*100, " and subdata.value%100=0)",
" or (subdata.value>=", yea*10000, " and subdata.value%10000=0)");
ELSEIF mon != 0 THEN
-- Date is fragment YYYY-MM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment