Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make 编译错误 #152

Open
zouxiaodong opened this issue Mar 25, 2021 · 2 comments
Open

make 编译错误 #152

zouxiaodong opened this issue Mar 25, 2021 · 2 comments

Comments

@zouxiaodong
Copy link

zouxiaodong commented Mar 25, 2021

centos7 :go version go1.15.5 linux/amd64

ok github.com/XiaoMi/Gaea/mysql 0.049s coverage: 34.3% of statements

github.com/XiaoMi/Gaea/parser

parser/lexer_test.go:201:12: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
FAIL github.com/XiaoMi/Gaea/parser [build failed]
FAIL github.com/XiaoMi/Gaea/parser/ast [build failed]
ok github.com/XiaoMi/Gaea/parser/auth 0.041s coverage: 0.0% of statements [no tests to run]
ok github.com/XiaoMi/Gaea/parser/format 0.026s coverage: 81.3% of statements

@zouxiaodong
Copy link
Author

应该是要改成string(rune(26))

@chicliz
Copy link
Contributor

chicliz commented Mar 25, 2021

ok, 我们修复下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants