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

improve add_trigger consistency between producers #48

Closed
wants to merge 1 commit into from

Conversation

andrewgregory
Copy link
Contributor

Update Producer::SQLite and Producer::MySQL to only wrap the trigger
action in "BEGIN...END" when the user has not already done so, bringing
them in line with other producers and the add_trigger documentation.

Fixes #46.

Signed-off-by: Andrew Gregory andrew.gregory.8@gmail.com

Update Producer::SQLite and Producer::MySQL to only wrap the trigger
action in "BEGIN...END" when the user has not already done so, bringing
them in line with other producers and the add_trigger documentation.

Fixes dbsrgits#46.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
@andrewgregory
Copy link
Contributor Author

Did you mean to say /s instead of /m? /s makes '.' match newlines, /m makes '$' and '^' match before and after newlines respectively. If you meant /s then yes I think that makes sense.

@ribasushi
Copy link
Contributor

Did you mean to say /s instead of /m

Yes, silly typo. I expanded the regex a little more and merged your changes as e533bcddea

Please let me know if I missed anything, and thanks for the contribution!

@ribasushi ribasushi closed this Jun 24, 2015
@andrewgregory andrewgregory deleted the trigger branch June 27, 2015 15:34
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.

add_trigger inconsistencies
2 participants