-
Notifications
You must be signed in to change notification settings - Fork 7
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
Crash when empty list is used in prepared statement #128
Comments
Thanks for the report! This is indeed a bug. I have an idea where it might be. Here's an even simpler repro:
|
Merged a fix. I'll get a release out soon. |
Fixed in 1.1.3-alpha.11. |
Thank you! Although it appears to still crash in some scenarios: await conn.run('select $a', { 'a': listValue([]) }) This doesn't happen when types are specified: await conn.run('select $a', { 'a': listValue([]) }, { 'a': LIST(VARCHAR) }) |
Sure enough. I'll investigate that additional case. |
Merged a fix. It'll go out with the next release; I'll do that soon, but there one more issue I want to investigate first. |
Published 1.1.3-alpha.12 with the second fix. |
The library crashes without any errors when empty lists are used in a prepared statement
The text was updated successfully, but these errors were encountered: