Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-14

Triggers do not evaluate functions in VALUES trigger actions.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.0.2.0
    • 10.0.2.0
    • SQL
    • None

    Description

      Opening this bug on behalf of Jack Klebanoff.

      ---------------------------------------------------------
      If a trigger is created with

      CREATE TRIGGER T ... VALUES( fn())

      The function fn is not called even if the trigger event
      happens. Side effects of the function will not happen.

      Derby does not allow CALL statements in trigger actions.
      In Derby, one has to use a VALUES statement and depend on function side effects.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ramank Ramandeep Kaur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment