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

Panic in join against diff table #8700

Closed
timsehn opened this issue Dec 26, 2024 · 1 comment · Fixed by #8699
Closed

Panic in join against diff table #8700

timsehn opened this issue Dec 26, 2024 · 1 comment · Fixed by #8699
Assignees
Labels
analyzer bug Something isn't working good repro Easily reproducible bugs panic

Comments

@timsehn
Copy link
Contributor

timsehn commented Dec 26, 2024

Repro steps:

CREATE TABLE mytable (
    id VARCHAR(255) PRIMARY KEY,
    str VARCHAR(255)
);

INSERT INTO mytable (id, str) VALUES
('one', 'aa'),
('two', 'bb');

SELECT * FROM dolt_diff_mytable LEFT JOIN mytable ON id = to_id;

Error:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x68 pc=0x105ea5be4]
@timsehn
Copy link
Contributor Author

timsehn commented Dec 26, 2024

Fix is here: #8699

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer bug Something isn't working good repro Easily reproducible bugs panic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants