Commit 9bb2b70a by Sven Klemm

only look in current database in findMetricTable

parent 2f254187
...@@ -51,6 +51,7 @@ export class MysqlMetaQuery { ...@@ -51,6 +51,7 @@ export class MysqlMetaQuery {
) AS value_column ) AS value_column
FROM information_schema.tables t FROM information_schema.tables t
WHERE WHERE
t.table_schema = database() AND
EXISTS EXISTS
( SELECT 1 ( SELECT 1
FROM information_schema.columns c FROM information_schema.columns c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment