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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialize the variable as an empty array #5481

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented Mar 27, 2024

Reported in #5480

I spent quite sometime trying to reproduce this issue.

It's was only possible to get this error if you were able to create a table without columns at all, thing that is not allowed at least in mysql and sqlite.

Apparently pgsql allow you to create an empty table, not sure if that's the case in the reported issue, it doesn't matter 馃し

We just init the columns to an empty array to fix this.

@pxpm pxpm merged commit 3ecaeff into main Mar 27, 2024
9 checks passed
@pxpm pxpm deleted the fix-access-to-variable branch March 27, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant