mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-04 01:50:08 +00:00
fix:ignore knowledge_management databases
This commit is contained in:
parent
6404bfe63a
commit
4e33e6ec2e
@ -344,7 +344,7 @@ class Database:
|
|||||||
return [
|
return [
|
||||||
d[0]
|
d[0]
|
||||||
for d in results
|
for d in results
|
||||||
if d[0] not in ["information_schema", "performance_schema", "sys", "mysql"]
|
if d[0] not in ["information_schema", "performance_schema", "sys", "mysql", "knowledge_management"]
|
||||||
]
|
]
|
||||||
|
|
||||||
def convert_sql_write_to_select(self, write_sql):
|
def convert_sql_write_to_select(self, write_sql):
|
||||||
|
Loading…
Reference in New Issue
Block a user