Derby
  1. Derby
  2. DERBY-4722

Error in SQL example of SYSCS_UTIL.SYSCS_DISABLE_LOG_ARCHIVE_MODE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.6.1.0
    • Fix Version/s: 10.6.2.1, 10.7.1.1
    • Component/s: Documentation
    • Labels:
      None

      Description

      The SQL Examples of the documentation of systemprocedure are errorneous:
      CALL SYSCS_UTIL.SYSCS_DISABLE_LOG_ARCHIVE_MODE DELETE_ARCHIVED_LOG_FILES(0);
      and
      CALL SYSCS_UTIL.SYSCS_DISABLE_LOG_ARCHIVE_MODE DELETE_ARCHIVED_LOG_FILES(1);

      It should read
      CALL SYSCS_UTIL.SYSCS_DISABLE_LOG_ARCHIVE_MODE(0);
      and
      CALL SYSCS_UTIL.SYSCS_DISABLE_LOG_ARCHIVE_MODE(1);
      instead.

      Actual link to the documentation page: http://db.apache.org/derby/docs/10.6/ref/rrefdisablelogproc.html

      1. rrefdisablelogproc.html
        4 kB
        Kristian Waagan
      2. derby-4722-1a.diff
        1 kB
        Kristian Waagan

        Activity

        Hide
        Kristian Waagan added a comment -

        Hi Andreas,

        Thanks for reporting this.
        I have attached a patch correcting the wrong examples, and intend to commit it shortly.

        Show
        Kristian Waagan added a comment - Hi Andreas, Thanks for reporting this. I have attached a patch correcting the wrong examples, and intend to commit it shortly.
        Hide
        Kristian Waagan added a comment -

        Committed patch to trunk with revision 958944.
        I'll backport the fix when it has been verified in the dev docs (built twice a week if there are changes).

        Show
        Kristian Waagan added a comment - Committed patch to trunk with revision 958944. I'll backport the fix when it has been verified in the dev docs (built twice a week if there are changes).
        Hide
        Kristian Waagan added a comment -

        Attached resulting HTML for reference.

        Show
        Kristian Waagan added a comment - Attached resulting HTML for reference.
        Hide
        Kristian Waagan added a comment -

        Backported fix to 10.6 with revision 980694.

        Note that the fix won't be visible online for the 10.6 docs before the docs are rebuilt manually (probably when a 10.6 update release is produced).
        The fix can be seen in the development docs though: http://db.apache.org/derby/docs/dev/ref/rrefdisablelogproc.html

        Show
        Kristian Waagan added a comment - Backported fix to 10.6 with revision 980694. Note that the fix won't be visible online for the 10.6 docs before the docs are rebuilt manually (probably when a 10.6 update release is produced). The fix can be seen in the development docs though: http://db.apache.org/derby/docs/dev/ref/rrefdisablelogproc.html
        Hide
        Knut Anders Hatlen added a comment -

        [bulk update] Close all resolved issues that haven't been updated for more than one year.

        Show
        Knut Anders Hatlen added a comment - [bulk update] Close all resolved issues that haven't been updated for more than one year.

          People

          • Assignee:
            Kristian Waagan
            Reporter:
            Andreas Knees
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development