Files
DB-GPT/pilot/common/sql_database.py
magic.chen 7233b9711f Fixed the issue when the MySQL table name had the keyword in it (#358)
When a table name with special characters, such as trigger, exists in
the database, the following error is reported.
```log
2023-07-25 00:02:47 | ERROR | stderr | sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger' at line 1")
2023-07-25 00:02:47 | ERROR | stderr | [SQL: SHOW INDEXES FROM trigger]
```
2023-07-25 00:23:47 +08:00

18 KiB