Skip to content
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 SQL column name escaping #44

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

gleichdick
Copy link
Collaborator

Using double quotes had the disadvantage that unknown
column names were silently changed to a string literal
in WHERE statements. This can be avoided by using backticks.

Can I ask someone with a ROS2 toolchain to test this PR? And to make a new release (1.0.4)?
Fixes #43

@gleichdick gleichdick force-pushed the fix_absent_columns_ros2 branch from 4cb4b85 to 4e0e247 Compare August 3, 2024 23:10
Using double quotes had the disadvantage that unknown
column names were silently changed to a string literal
in WHERE statements. This can be avoided by using backticks.

Fixes moveit#43
@gleichdick gleichdick force-pushed the fix_absent_columns_ros2 branch from 4e0e247 to d7fb4b7 Compare August 3, 2024 23:14
@rhaschke rhaschke merged commit 920fd2e into moveit:ros2 Aug 6, 2024
10 checks passed
rhaschke pushed a commit that referenced this pull request Aug 6, 2024
* Add test for appendGTE and friends.
* Use backticks to quote SQL identifiers

Using double quotes had the disadvantage that unknown column names were silently changed to a string literal
in WHERE statements. This can be avoided by using backticks.
@rhaschke
Copy link
Contributor

rhaschke commented Aug 6, 2024

@henningkayser, I wanted to release this repo, but I can't push the release version and tag due to branch protection rules.
Also, I don't yet have admin permissions to change that myself. Could you please check?

@gleichdick gleichdick deleted the fix_absent_columns_ros2 branch August 7, 2024 19:08
@rhaschke
Copy link
Contributor

rhaschke commented Aug 12, 2024

rolling: ros/rosdistro#42416
humble: ros/rosdistro#42422
jazzy: ros/rosdistro#42423
@gleichdick: Do you need any other releases?

@gleichdick
Copy link
Collaborator Author

I don't think so. Thanks Robert!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: query->appendGTE() and appendGT() not working as expected.
2 participants