Menu

#449 [ADO.NET] CUBRIDConnection.DropElementInSet does not work

open
nobody
None
5
2013-03-15
2013-03-15
Jira Trac
No

Description:
CUBRIDConnection.DropElementInSet does not work.

Repro Steps:
1. execute the following sqls to create a table with a sequence:
CREATE TABLE t(seq SEQUENCE(int));
INSERT INTO t(seq) VALUES({0,1,2,3,4,5,6});
2. get oid of this row
{noformat}
using (CUBRIDCommand cmd = new CUBRIDCommand(SELECT t FROM t, conn))
{
using (DbDataReader reader = cmd.ExecuteReader())
{
reader.Read()
oid = (CUBRIDOid)reader[0];
}
}
{noformat}

3.
conn.DropElementInSet(oid, seq, 5);

4. check the date
select * from t;

Expected result:
{0,1,2,3,5,6}

Actual Result:
{0,1,2,3,4,5,6}

Please refer to the attached test case.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.