bingo2sql icon indicating copy to clipboard operation
bingo2sql copied to clipboard

当使用了--show-thread参数后,--ddl则不生效,无法显示ddl语句

Open onanok opened this issue 11 months ago • 0 comments

单独使用--ddl --stop-never --show-gtid --show-time --show-all-time --show-thread --ddl --max 0 --debug

# 64f83485-8ec1-11ec-9822-005056a8e9ea:495
USE `test`;
create table test02(id int); # 2024-03-01 11:29:03

# 64f83485-8ec1-11ec-9822-005056a8e9ea:496
INSERT INTO `test`.`test02`(`id`) VALUES(1); # 2024-03-01 11:29:24

# 64f83485-8ec1-11ec-9822-005056a8e9ea:497
USE `test`;
DROP TABLE `test02` /* generated by server */; # 2024-03-01 11:29:35

# 64f83485-8ec1-11ec-9822-005056a8e9ea:498
USE `test`;
create table test02(id int); # 2024-03-01 14:25:37

# 64f83485-8ec1-11ec-9822-005056a8e9ea:499
INSERT INTO `test`.`test02`(`id`) VALUES(1); # 2024-03-01 14:27:40

当加上--show-thread后 --stop-never --show-gtid --show-time --show-all-time --show-thread --ddl --max 0 --debug

# 64f83485-8ec1-11ec-9822-005056a8e9ea:496
INSERT INTO `test`.`test02`(`id`) VALUES(1); # 2024-03-01 11:29:24 # thread_id=2892331

# 64f83485-8ec1-11ec-9822-005056a8e9ea:499
INSERT INTO `test`.`test02`(`id`) VALUES(1); # 2024-03-01 14:27:40 # thread_id=2897475

onanok avatar Mar 01 '24 06:03 onanok