Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

sql: correctly handle nulls in SQL type conversion #753

Merged
merged 1 commit into from Jun 19, 2019

Conversation

erizocosmico
Copy link
Contributor

Will fix src-d/gitbase#878

Apparently, we've been handling nulls the wrong way all along when converting data to send to MySQL.

@erizocosmico erizocosmico added the bug Something isn't working label Jun 18, 2019
@erizocosmico erizocosmico requested a review from a team June 18, 2019 13:57
@erizocosmico erizocosmico self-assigned this Jun 18, 2019
@ajnavarro
Copy link
Contributor

@erizocosmico could you have a look to Travis? I'm facing the same error with:
SELECT uast_extract(NULL, "Go") from dual;

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
@erizocosmico
Copy link
Contributor Author

Should be fixed now. One test was not correctly adapted.

@ajnavarro ajnavarro merged commit b6dc0ee into src-d:master Jun 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unknown error: value of type <nil> is not an array
3 participants