Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: The "REPLACE INTO" SQL statement reports an error with source code #9

Closed
lylth opened this issue Jun 15, 2022 · 1 comment
Closed
Labels
A-bug Something isn't working prio: low Low priority

Comments

@lylth
Copy link
Contributor

lylth commented Jun 15, 2022

Describe the problem

The "REPLACE INTO" SQL statement reports an error with source code:

ERROR 6 (HY000): assert failed on i < m_idx.size() at rc_attr.h:329, msg: [bad dpn index 65535/1]

Expected behavior

Error without source code
How To Reproduce

Set the parameter stonedb_insert_delayed=0

mysql> CREATE TABLE study1(
    ->     ID INT NOT NULL PRIMARY KEY AUTO_INCREMENT ,
    ->     NAME VARCHAR(20) NOT NULL,
    ->     AGE INT(10)
    -> )ENGINE=STONEDB;
Query OK, 0 rows affected (0.01 sec)

mysql> INSERT INTO study1 VALUES(1,'a' , 10);
Query OK, 1 row affected (0.00 sec)

mysql> REPLACE INTO study1 VALUES(1 , 'a' , 11);

ERROR 6 (HY000): assert failed on i < m_idx.size() at rc_attr.h:329, msg: [bad dpn index 65535/1]

Environment

Server OS: Centos7.6
StoneDB: StoneDB5.6
Additional context

@lylth lylth added the A-bug Something isn't working label Jun 15, 2022
@hustjieke hustjieke added this to the v0.1 milestone Jun 16, 2022
@hustjieke hustjieke added the prio: low Low priority label Jun 17, 2022
@lylth lylth closed this as completed Jun 28, 2022
@haitaoguan
Copy link
Collaborator

StoneDB nonsupport replace into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bug Something isn't working prio: low Low priority
Projects
None yet
Development

No branches or pull requests

3 participants