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

Make boolean expression compatible with MySQL #731

Merged
merged 1 commit into from
May 29, 2019
Merged

Make boolean expression compatible with MySQL #731

merged 1 commit into from
May 29, 2019

Conversation

kuba--
Copy link
Contributor

@kuba-- kuba-- commented May 28, 2019

Signed-off-by: kuba-- kuba@sourced.tech
Fixes: #726

@kuba--
Copy link
Contributor Author

kuba-- commented May 28, 2019

Every string is false. Number, Time, Duration are converted into int (float is round), 0 is false, otherwise true.

@kuba-- kuba-- requested a review from a team May 28, 2019 15:59
@kuba-- kuba-- added the bug Something isn't working label May 28, 2019
Signed-off-by: kuba-- <kuba@sourced.tech>
@ajnavarro ajnavarro merged commit 822f935 into src-d:master May 29, 2019
@kuba-- kuba-- deleted the fix-726/not branch May 29, 2019 08:07
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.

gitbase dies for query with WHERE NOT <not boolean value>
3 participants