-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix graphd's crash due to lack of support of xor. #4952
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need some TCK test cases.
Codecov ReportBase: 76.84% // Head: 76.86% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #4952 +/- ##
==========================================
+ Coverage 76.84% 76.86% +0.02%
==========================================
Files 1101 1101
Lines 81180 81225 +45
==========================================
+ Hits 62379 62435 +56
+ Misses 18801 18790 -11
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
} else if (expr->kind() == Expression::Kind::kLogicalXor) { | ||
pullXors(expr); | ||
} else { | ||
LOG(FATAL) << "Invalid logical expression kind: " << static_cast<uint8_t>(expr->kind()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to use DCHECK
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Close #4951
Description:
Lack of support for xor.
How do you solve it?
Added some methods for xor.
Special notes for your reviewer, ex. impact of this fix, design document, etc:
Checklist:
Tests:
Affects:
Release notes:
Please confirm whether to be reflected in release notes and how to describe: