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

ZongJi constructor accepts node-mysql Connection/Pool as argument #63

Merged
merged 1 commit into from
Jul 1, 2017

Conversation

numtel
Copy link
Collaborator

@numtel numtel commented May 14, 2017

As a solution to multiple requests for allowing ZongJi to use a connection pool, (#59, and others...) I propose this patch which allows the constructor to accept an already instantiated Connection or Pool object to use for querying the column information. The binlog connection settings are then pulled from that object.

@nevill What do you think?

@vlasky This also has the updated node-mysql dependency.

@numtel numtel force-pushed the accepts_conn_obj branch from 018ddec to c13f7e1 Compare May 14, 2017 07:42
@nevill nevill merged commit fa4cce2 into master Jul 1, 2017
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.

2 participants