[ 
https://issues.apache.org/jira/browse/IGNITE-15349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Safonov updated IGNITE-15349:
------------------------------------
    Description: 
We need to fix  [the second code 
snippet|https://ignite.apache.org/docs/latest/sql-reference/transactions#example]
 on SQL Transactions doc page:

 
{code:java}
BEGIN;
INSERT INTO Person (id, name, city_id) VALUES (1, 'John Doe', 3);
UPDATE City SET population = population + 1 WHERE id = 3;
{code}
 

This code snippet appears to be a duplicate of the preceding one and does not 
actually show how to "Roll back the changes...".

  was:
We need to fix  [the second code 
snippet|https://ignite.apache.org/docs/latest/sql-reference/transactions#example]
 on SQL transactions:



 
{code:java}
BEGIN;
INSERT INTO Person (id, name, city_id) VALUES (1, 'John Doe', 3);
UPDATE City SET population = population + 1 WHERE id = 3;
{code}
 


This code snippet appears to be a duplicate of the preceding one and does not 
actually show  how to "Roll back the changes...".


> Bugyard feedback #4: Fix code snippet on SQL transactions
> ---------------------------------------------------------
>
>                 Key: IGNITE-15349
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15349
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.10, 2.11
>            Reporter: Igor Gusev
>            Assignee: Igor Gusev
>            Priority: Major
>              Labels: Documentation, documentation
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> We need to fix  [the second code 
> snippet|https://ignite.apache.org/docs/latest/sql-reference/transactions#example]
>  on SQL Transactions doc page:
>  
> {code:java}
> BEGIN;
> INSERT INTO Person (id, name, city_id) VALUES (1, 'John Doe', 3);
> UPDATE City SET population = population + 1 WHERE id = 3;
> {code}
>  
> This code snippet appears to be a duplicate of the preceding one and does not 
> actually show how to "Roll back the changes...".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to