stonedb icon indicating copy to clipboard operation
stonedb copied to clipboard

bug: bad dpn index when deleting rows

Open ZhengLin-Li opened this issue 11 months ago • 4 comments

Have you read the Contributing Guidelines on issues?

Please confirm if bug report does NOT exists already ?

  • [X] I confirm there is no existing issue for this

Describe the problem

I am supporting the StoneDB in SQLacer. When deleting rows, SQLancer got: assert failed on i < m_idx.size() at tianmu_attr.h:387, msg: [bad dpn index 0/0]

FUll log: image

Expected behavior

Delete successfully.

How To Reproduce

CREATE TABLE t1(c0 INT);
INSERT INTO t1(c0) VALUES (1), (2);
DELETE FROM t1 ORDER BY c0;

Environment

Docker Image stonedb:v1.0.3

Are you interested in submitting a PR to solve the problem?

  • [X] Yes, I will!

ZhengLin-Li avatar Jul 07 '23 08:07 ZhengLin-Li