Skip to content

Commit

Permalink
修复my2sql基于时间恢复报错 (#1651)
Browse files Browse the repository at this point in the history
Update binlog.py

Co-authored-by: Nick Wang <nick2wang@outlook.com>
  • Loading branch information
gj19910723 and nick2wang committed Jul 2, 2022
1 parent d681cc7 commit 24e929d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/binlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 24e929d

Please sign in to comment.