[teiid-issues] [JBoss JIRA] (TEIID-5075) Couchbase incorrect update count returned

Jan Stastny (JIRA) issues at jboss.org
Mon Sep 25 14:33:00 EDT 2017


     [ https://issues.jboss.org/browse/TEIID-5075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Stastny updated TEIID-5075:
-------------------------------
    Description: 
# For a bulk insert query:
{code:sql}
INSERT INTO SmallA (IntKey, StringKey) VALUES (100, '100'),(101, '101'),(102, '102'),(103, '103')
{code}
update row count is 1 even though all 4 rows are inserted correctly into database.
# For a delete query:
{code:sql}
DELETE FROM SmallA WHERE StringKey=101;
{code}
returned 'deleted number of rows' is 0, though the row was deleted from database.

  was:
For a bulk insert query:
{code:sql}
INSERT INTO SmallA (IntKey, StringKey) VALUES (100, '100'),(101, '101'),(102, '102'),(103, '103')
{code}
update row count is 1 even though all 4 rows are inserted correctly into database.



> Couchbase incorrect update count returned
> -----------------------------------------
>
>                 Key: TEIID-5075
>                 URL: https://issues.jboss.org/browse/TEIID-5075
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.12.x-6.4
>            Reporter: Jan Stastny
>            Assignee: Steven Hawkins
>
> # For a bulk insert query:
> {code:sql}
> INSERT INTO SmallA (IntKey, StringKey) VALUES (100, '100'),(101, '101'),(102, '102'),(103, '103')
> {code}
> update row count is 1 even though all 4 rows are inserted correctly into database.
> # For a delete query:
> {code:sql}
> DELETE FROM SmallA WHERE StringKey=101;
> {code}
> returned 'deleted number of rows' is 0, though the row was deleted from database.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list