dbdiff icon indicating copy to clipboard operation
dbdiff copied to clipboard

dialects/mysql-client.js will open and close connection for each query

Open spencerdcarlson opened this issue 7 years ago • 1 comments

I ran all of the regression tests in test/test-mysql.

spencerdcarlson avatar Nov 17 '17 00:11 spencerdcarlson

When closing the db connection, I followed Java's try-with-resources design approach of capturing suppressed errors. https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html#suppressed-exceptions

spencerdcarlson avatar Nov 17 '17 00:11 spencerdcarlson