Menu

#263 Enable passing cache names as arguments in procedures

v1.1.x
closed
None
v1.1.1
New Functionality
2018-03-04
2017-12-11
Erik Hänel
No

If one wants to pass a cache's name to a procedure, one has to do some string operations for getting the cache name and another time for using the cache' s name to access the cache itself. Simplify this by enabling an internal functionality, which does the stuff, if one passes the cache with an ampersand, e.g.

$procedure_using_caches(&cache())

Analysis:
This functionality may be implemented by changing the way the arguments of a procedure are interpreted. The central location for changes is the ProcedureVarFactory class.

Implementation:
The functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
The functionality was added to the changes log and to the documentation articles concerning procedures in both languages.

Tests:
The functionality was added to the automatic tests. No deviations detected. Functionality implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2018-01-05
    • status: open --> postponed
     
  • Erik Hänel

    Erik Hänel - 2018-01-20
    • status: postponed --> accepted
    • Version: Planned --> v1.1.1
     
  • Erik Hänel

    Erik Hänel - 2018-02-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,3 +3,11 @@
     ~~~
     $procedure_using_caches(&cache())
     ~~~
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2018-02-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -5,6 +5,7 @@
     ~~~
    
     **Analysis:**
    +This functionality may be implemented by changing the way the arguments of a procedure are interpreted. The central location for changes is the `ProcedureVarFactory` class.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2018-02-20
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -8,7 +8,9 @@
     This functionality may be implemented by changing the way the arguments of a procedure are interpreted. The central location for changes is the `ProcedureVarFactory` class.
    
     **Implementation:**
    +The functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +The functionality was added to the changes log and to the documentation articles concerning procedures in both languages.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2018-03-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -14,3 +14,4 @@
     The functionality was added to the changes log and to the documentation articles concerning procedures in both languages.
    
     **Tests:**
    +The functionality was added to the automatic tests. No deviations detected. Functionality implemented successfully.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB