Project

General

Profile

Actions

Bug #11630

closed

Bitte check ob CALL() in 20.11.0 noch so funktioniert wie in 20.4.1

Added by Carsten Rose over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Carsten Rose
Target version:
Start date:
25.11.2020
Due date:
01.06.2022
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

Description

Im IK-Tool #11625 hat das SQL 'CALL' noch funktioniert mit 20.4.1. Nach dem Update auf 20.11.0 funktioniert es nicht mehr.

In #11325 wurde CALL angeblich implementiert (fuer 20.11.0) - es muss aber vorher schon mal funktioniert haben! Und nun, nachdem es neu implementiert ist, funktioniert es nicht mehr. Das macht alles kein Sinn.

Code aus IK Tool:

    # Action: 'moveToPool'
    10 {
      sql = SELECT '' FROM (SELECT '') AS fake WHERE '{{action:SE}}' = 'moveToPool'

      10.sql = SELECT '' FROM (SELECT '') AS fake WHERE {{grIdPool:S0}}={{grIdPool2Bm:R}}
      10.10.sql = CALL copyApplicationPostingUpload(@srcId:={{apId:S0}})

      20.sql = UPDATE Application
                  SET grIdPool = {{grIdPool:S0}},
                      dateReceipt = IF( {{grIdPool:S0}}={{grIdPool2Bm:R}}, NOW(), dateReceipt),
                      finalCostCategory = IF({{grIdPool:S0}}={{grIdPool1Bm:R}},
                                             CASE
                                               WHEN totalCost=0 THEN ''
                                               WHEN totalCost<100000 THEN 'below 100k'
                                               WHEN totalCost<250000 THEN '100k to 250k'
                                               ELSE 'above 250k'
                                             END,
                                             finalCostCategory)
                  WHERE id = {{apId:S0}} AND '{{action:SE}}' = 'moveToPool'
    }

Befuerchtung:

  • In 20.4.1 war noch Code in QFQ das `CALL` funktioniert und dieser Code ist bis 20.11.0 verloren gegangen.
  • Warum funktioniert es nicht, obwohl CR das als 'fixed/implemented' markiert hat in 20.11.0.

Files


Related issues

Related to QFQ - Bug #11325: SQL: CALL() ClosedCarsten Rose16.10.2020

Actions
Actions

Also available in: Atom PDF