Skip to content

Commit c3d4c64

Browse files
committed
fix: Fix possible SQL injection vulnerabilities
1 parent d1e7c20 commit c3d4c64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/apps/db/db_sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_table_sql(ds: CoreDatasource, conf: DatasourceConf, db_version: str = ''
143143

144144

145145
def get_field_sql(ds: CoreDatasource, conf: DatasourceConf, table_name: str = None):
146-
if ds.type == "mysql" or ds.type == "doris":
146+
if ds.type == "mysql":
147147
sql1 = """
148148
SELECT
149149
COLUMN_NAME,

0 commit comments

Comments
 (0)