gh-ost panic: runtime error: invalid memory address or nil pointer dereference

gh-ost -host=127.0.0.1 --port=3306  -user=root  -password=123  --database=test  --table=t  --alter="drop COLUMN  name "    --allow-on-master    --initially-drop-ghost-table   --initially-drop-socket-file  --ok-to-drop-table   --execute --verbose --cut-over=default --panic-flag-file=/tmp/ghost.panic.flag  

panic: runtime error: invalid memory address or nil pointer dereference

[signal 0xb code=0x1 addr=0x8 pc=0x5353f6]


goroutine 1 [running]:
panic(0x79d500, 0xc820010100)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
github.com/github/gh-ost/go/sql.(*ColumnList).Names(0x0, 0x0, 0x0, 0x0)
        /Users/shlomi-noach/dev/go/src/github.com/github/gh-ost/go/sql/types.go:123 +0x36
github.com/github/gh-ost/go/logic.(*Inspector).inspectOriginalAndGhostTables(0xc82000e900, 0x0, 0x0)
        /Users/shlomi-noach/dev/go/src/github.com/github/gh-ost/go/logic/inspect.go:107 +0xa0
github.com/github/gh-ost/go/logic.(*Migrator).Migrate(0xc82008a240, 0x0, 0x0)
        /Users/shlomi-noach/dev/go/src/github.com/github/gh-ost/go/logic/migrator.go:301 +0x6b5
main.main()

        /Users/shlomi-noach/dev/go/src/github.com/github/gh-ost/go/cmd/gh-ost/main.go:212 +0x1fe4



下载新版本后,问题解决        
wget https://github.com/github/gh-ost/releases/download/v1.0.34/gh-ost-binary-linux-20170109081400.tar.gz       
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值