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

[BUG] select specific tables in some tables using --regex #407

Closed
jackwener opened this issue Sep 24, 2021 · 1 comment · Fixed by #408
Closed

[BUG] select specific tables in some tables using --regex #407

jackwener opened this issue Sep 24, 2021 · 1 comment · Fixed by #408

Comments

@jackwener
Copy link
Contributor

jackwener commented Sep 24, 2021

Describe the bug
select specific tables in some tables using --regex.
There are redundant tables with same prefix name in result.

To Reproduce
Command executed:
mydumper -u root -p * --regex mysql.proc -o .

Expected behavior
just include metadata mysql.proc.metadata mysql.proc-schema.sql

Backup

ls
metadata  mysql.proc.metadata  mysql.proc-schema.sql  
mysql.procs_priv.metadata  mysql.procs_priv-schema.sql  mysql.proc.sql

Environment (please complete the following information):

  • OS version: debian buster
  • mydumper 0.10.7, built against MySQL 5.7.33-36
@jackwener
Copy link
Contributor Author

It is caused by my mistake.
Correctly, --regex ^mysql.proc$

@davidducos davidducos added this to the Release 0.11.3 milestone Sep 24, 2021
@davidducos davidducos linked a pull request Sep 24, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants