From 70dbb9eab5c7c1781881883f2863e5d6cdb2e79f Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 2 Dec 2024 03:18:06 +0800 Subject: [PATCH] Update sql_mysql.py --- plugins/data_query/sql_mysql.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/data_query/sql_mysql.py b/plugins/data_query/sql_mysql.py index e1d4007be..c6f121812 100755 --- a/plugins/data_query/sql_mysql.py +++ b/plugins/data_query/sql_mysql.py @@ -430,6 +430,9 @@ class nosqlMySQLCtr(): """ ) + if data is None: + return mw.returnData(True, 'ok', []) + for i in range(len(data)): row = data[i]