Skip to content

Commit

Permalink
mongodb comment 检测问题修复 (#2830)
Browse files Browse the repository at this point in the history
  • Loading branch information
blight19 authored Oct 10, 2024
1 parent 073560e commit f473743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/engines/mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ def execute_check(self, db_name=None, sql=""):
# 执行语句
for check_sql in sp_sql:
alert = "" # 警告信息
check_sql = check_sql.strip()
if not check_sql == "" and check_sql != "\n":
check_sql = check_sql.strip()
# check_sql = f'''{check_sql}'''
# check_sql = check_sql.replace('\n', '') #处理成一行
# 支持的命令列表
Expand Down

0 comments on commit f473743

Please sign in to comment.