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),