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

check that insert query contain placeholder #210

Merged
merged 1 commit into from
Jul 19, 2018
Merged

check that insert query contain placeholder #210

merged 1 commit into from
Jul 19, 2018

Conversation

Lagovas
Copy link
Collaborator

@Lagovas Lagovas commented Jul 19, 2018

after recent acra-rollback usage met case when it was helpful if acra-rollback check that query contains expected placeholder for example if user run from bash like:

acra-rollback arg1 arg1 --insert="some query $1" 

he will be surprised to see that output will not contain any decrypted data but select queries and decryption was executed. Because bash use $n as placeholders too :)

acra-rollback will take query with replaced value by bash (empty for example and placeholder will not placed in query)

@Lagovas Lagovas requested a review from vixentael July 19, 2018 22:04
@vixentael vixentael merged commit ae672fa into cossacklabs:master Jul 19, 2018
@Lagovas Lagovas deleted the lagovas/acrarollback-check-placeholder branch July 25, 2018 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants