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
Forbid NaN with the JavaScript driver #767
Comments
We need to forbid it on the server, not just the drivers. |
Reassigning to @mlucy. |
I tried playing around with this a bit myself. The server seems to accept NaN when you simply reflect it back. If you try to do math on NaN we get a sensible error back. It's only when retrieving a row containing NaN that we fail a guarantee. We should handle NaN the same way on every code path. FYI, I can't actually replicate the crash. I get an ugly backtrace back in the data explorer but the server doesn't actually crash. I think this might be because I'm using the release build. |
It looks like the problem here is that |
@mlucy -- good morning :-D |
@coffeemug -- feel like dropping by the office and grabbing breakfast with me? ^.^ |
I'm in my bed in my proverbial pajamas, so no. I did consider it, but Newton's first law is seriously at play here :-D |
Actually, after looking at this a little more closely, I think the sanity check in |
This is in code-review 500 by @srh . |
This is in next. |
This query doesn't return an error.
I could insert the object in the database, but when I tried to retrieved it, the server crashed.
Assigning to @wmrowan
The text was updated successfully, but these errors were encountered: