mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-09 12:18:12 +00:00
fix:ignore knowledge_management databases
This commit is contained in:
parent
03b507a4e9
commit
df0b562bf8
@ -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