-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
refactor: remove unnecessary string hashes #815
base: master
Are you sure you want to change the base?
refactor: remove unnecessary string hashes #815
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.
@billy1624 are you open to this pull request?
tests/sqlite/query.rs
Outdated
r#"SELECT "aspect""#, | ||
r#"FROM "glyph""#, | ||
r#"WHERE IFNULL("aspect", 0) > 2"#, | ||
r#"ORDER BY CASE"#, | ||
r"ORDER BY CASE", | ||
r#"WHEN "id"=4 THEN 0"#, | ||
r#"WHEN "id"=5 THEN 1"#, | ||
r#"WHEN "id"=1 THEN 2"#, | ||
r#"WHEN "id"=3 THEN 3"#, | ||
r#"ELSE 4 END,"#, | ||
r"ELSE 4 END,", | ||
r#""glyph"."aspect" ASC"#, | ||
] | ||
.join(" ") |
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.
Thank you for the above changes.
While I think most removal are fine when they're clearly not necessary, this bits look inconsistent with the surrounding lines?
Can you revert the changes where it is in a vec of string and the other lines still need r#
?
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.
You're welcome. I reverted the changes in specific spots to make it more consistent.
9d464d8
to
dd86f38
Compare
in specific spots
dd86f38
to
65deaee
Compare
tests/sqlite/table.rs
Outdated
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.
sorry I'd probably not change this file as well
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.
Okay, I reverted the changes to it.
Breaking Changes
This change is backward compatible.
Changes