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

Pavel Pereslegin updated IGNITE-25297:
--------------------------------------
    Fix Version/s: 3.1

> Sql. Reject scripts that contain only COMMIT or only START TRANSACTION 
> statements
> ---------------------------------------------------------------------------------
>
>                 Key: IGNITE-25297
>                 URL: https://issues.apache.org/jira/browse/IGNITE-25297
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Maksim Zhuravkov
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The SQL CLI uses SQL scripts for running SQL commands but following scripts 
> are valid:
> {noformat}
> Connected to http://localhost:10300
> [node1]> sql
> sql-cli> COMMIT;
> Updated 0 rows.
> sql-cli> COMMIT;COMMIT;
> Updated 0 rows.
> Updated 0 rows.
> sql-cli> START TRANSACTION;
> Updated 0 rows.
> sql-cli> 
> {noformat}
> Let's reject such scripts because they do nothing useful from a user 
> standpoint and look quite confusing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to