gkunter / coquery

Coquery is a free corpus query tool for linguists, lexicographers, translators, and anybody who wishes to search and analyse a text corpus.
GNU General Public License v3.0
18 stars 4 forks source link

No time-out when attempting to drop a locked database #156

Closed gkunter closed 8 years ago

gkunter commented 8 years ago

Originally reported by: gkunter (Bitbucket: gkunter, GitHub: gkunter)


Sometimes, MySQL database connections don't get closed correctly (probably if exceptions occur during corpus installations or queries, but that's not clear as yet). If the corpus using that database is requested to be removed by the corpus manager, the GUI freezes, because the MySQL connection that tries to drop the database is waiting for table metadata lock.


gkunter commented 8 years ago

Original comment by gkunter (Bitbucket: gkunter, GitHub: gkunter):


Fix Issue #156

gkunter commented 8 years ago

Original comment by gkunter (Bitbucket: gkunter, GitHub: gkunter):


Try to use as many disposable DB connections as possible (see #156)