From 405b6214b9e8a61fc841b560d4cb499761e571ec Mon Sep 17 00:00:00 2001 From: gj19910723 <517109928@qq.com> Date: Fri, 1 Jul 2022 12:53:53 +0800 Subject: [PATCH] Update binlog.py --- sql/binlog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/binlog.py b/sql/binlog.py index fbfc409e02..c16ec02f87 100644 --- a/sql/binlog.py +++ b/sql/binlog.py @@ -123,8 +123,8 @@ def my2sql(request): "start-pos": start_pos, "stop-file": end_file, "stop-pos": end_pos, - "start-datetime": start_time, - "stop-datetime": stop_time, + "start-datetime": '"'+start_time+'"', + "stop-datetime": '"'+stop_time+'"', "databases": ' '.join(only_schemas), "tables": ','.join(only_tables), "sql": ','.join(sql_type),