afa108f8fa
The TABLE_SCHEMA and TABLE_NAME are already guaranteed to have the same value in COLUMNS and UNIQUES because of the WHEREs in each query. Dropping it from the ON clause makes it complete much faster. On (at least) MySQL 5.6 installs with thousands of tables, this query completes in a few seconds without the additional join conditions, but takes more than a minute with it. |
||
---|---|---|
.. | ||
applier.go | ||
hooks.go | ||
inspect.go | ||
migrator.go | ||
server.go | ||
streamer.go | ||
throttler.go |