You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dag H. Wanvik (Created) (JIRA)" <ji...@apache.org> on 2012/02/24 02:29:48 UTC

[jira] [Created] (DERBY-5628) Wrong syntax description in DELETE statement doc

Wrong syntax description in DELETE statement doc
------------------------------------------------

                 Key: DERBY-5628
                 URL: https://issues.apache.org/jira/browse/DERBY-5628
             Project: Derby
          Issue Type: Bug
          Components: Documentation
            Reporter: Dag H. Wanvik
            Priority: Minor


In the description of the DELETE statement in the reference manual, the syntax description gives this:
:
{
    DELETE FROM table-Name [[AS] correlation-Name]
        [WHERE clause] |
    DELETE FROM table-Name WHERE CURRENT OF
}

The last line is wrong. It should read 

DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Kim Haase (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase reassigned DERBY-5628:
--------------------------------

    Assignee: Kim Haase
    
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Kim Haase (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215626#comment-13215626 ] 

Kim Haase commented on DERBY-5628:
----------------------------------

Thanks, Dag, I'll fix that. Actually, I guess it should say "WHERE CURRENT OF cursor-name" because that's the correct syntax, but should point to the clause topic (which then links to the cursor-name syntax topic).
                
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase resolved DERBY-5628.
------------------------------

          Resolution: Fixed
       Fix Version/s: 10.9.0.0
    Issue & fix info:   (was: Patch Available)

Thank you, Dag!

Committed patch DERBY-5628.diff to documentation trunk at revision 1336804. 
                
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>             Fix For: 10.9.0.0
>
>         Attachments: DERBY-5628.diff, rrefsqlj35981.html
>
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Knut Anders Hatlen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215639#comment-13215639 ] 

Knut Anders Hatlen commented on DERBY-5628:
-------------------------------------------

Should [WHERE clause] be changed to [WHERE Boolean expression] too (and point to the WHERE clause topic)?
                
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Knut Anders Hatlen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215644#comment-13215644 ] 

Knut Anders Hatlen commented on DERBY-5628:
-------------------------------------------

And should table-Name and correlation-Name be turned into links to their respective topics?
                
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase closed DERBY-5628.
----------------------------


Changes have appeared in Latest Alpha Manuals.
                
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>             Fix For: 10.9.0.0
>
>         Attachments: DERBY-5628.diff, rrefsqlj35981.html
>
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase updated DERBY-5628:
-----------------------------

    Issue & fix info: Patch Available
    
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5628.diff, rrefsqlj35981.html
>
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase updated DERBY-5628:
-----------------------------

    Attachment: rrefsqlj35981.html
                DERBY-5628.diff

Attaching DERBY-5628.diff and rrefsqlj35981.html, with modifications to some links in the DELETE statement topic:

M       src/ref/rrefsqlj35981.dita

Thanks in advance for any comments.
                
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5628.diff, rrefsqlj35981.html
>
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Kim Haase (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215673#comment-13215673 ] 

Kim Haase commented on DERBY-5628:
----------------------------------

Oh, good point. Poking around I see that we do usually just put "clause" and not the syntax. Dag is right, we can just say "WHERE CURRENT OF clause".

And yes, I should add links to the syntax of table-Name and correlation-Name. Thanks, Knut.
                
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5628) Wrong syntax description in DELETE statement doc

Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272440#comment-13272440 ] 

Dag H. Wanvik commented on DERBY-5628:
--------------------------------------

Looks good to me. +1


                
> Wrong syntax description in DELETE statement doc
> ------------------------------------------------
>
>                 Key: DERBY-5628
>                 URL: https://issues.apache.org/jira/browse/DERBY-5628
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5628.diff, rrefsqlj35981.html
>
>
> In the description of the DELETE statement in the reference manual, the syntax description gives this:
> :
> {
>     DELETE FROM table-Name [[AS] correlation-Name]
>         [WHERE clause] |
>     DELETE FROM table-Name WHERE CURRENT OF
> }
> The last line is wrong. It should read 
> DELETE FROM table-Name WHERE CURRENT OF clause. It is already a link to the clause.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira