stonedb
stonedb copied to clipboard
bug: bad dpn index when deleting rows
Have you read the Contributing Guidelines on issues?
- [X] I have 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:
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!