Skip to content

Add a force-table-names command flag#457

Merged
arthurnn merged 2 commits intomasterfrom
arthurnn/add_force_table_arg
Jul 24, 2017
Merged

Add a force-table-names command flag#457
arthurnn merged 2 commits intomasterfrom
arthurnn/add_force_table_arg

Conversation

@arthurnn
Copy link
Member

usage example:

gh-ost  ...  --force-table-names=migration_tbl

The force-table-names flag will receive a table name and use that name
when creating the _del, _gho, _ghc tables.
For instance, for that example above, the tables would be:

_migration_tbl_del
_migration_tbl_gho
_migration_tbl_ghc

[fixes #399]

usage example:
```
gh-ost  ...  --force-table-names=migration_tbl
```

The force-table-names flag will receive a table name and use that name
when creating the _del, _gho, _ghc tables.
For instance for that example above, the tables would be:

_migration_tbl_del
_migration_tbl_gho
_migration_tbl_ghc

[fixes #399]
Copy link
Contributor

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Thank you for adding tests to confirm!

@arthurnn arthurnn merged commit 5294ab6 into master Jul 24, 2017
@arthurnn arthurnn deleted the arthurnn/add_force_table_arg branch July 24, 2017 00:08
@shlomi-noach
Copy link
Contributor

3 years later, and this PR comes super handy for something I'm working on. Thought I'd drop a note.

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.

gh-ost temp table

2 participants