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

exit if pt-online-schema-change is not found #4

Open
lefred opened this issue Aug 1, 2014 · 1 comment
Open

exit if pt-online-schema-change is not found #4

lefred opened this issue Aug 1, 2014 · 1 comment

Comments

@lefred
Copy link
Owner

lefred commented Aug 1, 2014

If pt-online-schema-change is not found, we should stop (until we specify we won't use it, if this new feature
gets implemented).

We avoid this and let bad status:

ERROR : Problem while running :
    pt-online-schema-change h=127.0.0.1,P=3306,u=root,p=,D="world",t=City --alter="add PolutionLevel int;" 
    --execute >>online_migration.log 2>&1
@lefred
Copy link
Owner Author

lefred commented Sep 18, 2014

check if pt-online-schema-change exists and if not, or stop or use normal alter statement

this is to decide what will be the default and maybe override it in the cfg file with:

alter_allowed=1

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

No branches or pull requests

1 participant