GreatSQL社区

搜索

[已解决] gt-checksum-1.2.1 设置数据校验对象为函数和存储过程时报错

219 2 2024-1-24 15:36
本帖最后由 skyfly 于 2024-1-26 09:45 编辑

[root@localhost gt-checksum-1.2.1-linux-x86-64]# ./gt-checksum -f gc.conf
-- gt-checksum init configuration files --
-- gt-checksum init log files --
-- gt-checksum init check parameter --
-- gt-checksum init check table name --
panic: assignment to entry in nil map

goroutine 1 [running]:
gt-checksum/actions.(*schemaTable).Func(0xc0000c4000, {0xc000210930, 0x1, 0x1?}, 0x8?, 0x8c?)
        /builds/gt-tools/gt-checkOut/actions/schema_tab_struct.go:828 +0x112a
main.main()
        /builds/gt-tools/gt-checkOut/greatdbCheck.go:51 +0x24d
[root@localhost gt-checksum-1.2.1-linux-x86-64]#

gc.conf配置文件(部分)
; 设置数据校验对象,支持 data/struct/index/partitions/foreign/trigger/func/proc,默认值为:data
; 分别表示:行数据/表结构/索引/分区/外键/触发器/存储函数/存储过程
; checkObject = data
checkObject = func



[root@localhost gt-checksum-1.2.1-linux-x86-64]# ./gt-checksum -v
gt-checksum version 1.2.1



全部回复(2)
yejr 2024-1-25 17:06:29
这是个已知的bug问题,会在新版本中修复,等我们发布新版本哈
skyfly 2024-1-26 09:43:35
yejr 发表于 2024-1-25 17:06
这是个已知的bug问题,会在新版本中修复,等我们发布新版本哈

好的,谢谢。
skyfly

2

主题

0

博客

11

贡献

新手上路

Rank: 1

积分
17

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2024-4-27 17:17 , Processed in 0.017462 second(s), 13 queries , Redis On.
快速回复 返回顶部 返回列表