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

wrong line number in linter with multi-line comment #112

Closed
LPX-E5BD8 opened this issue Nov 21, 2018 · 0 comments
Closed

wrong line number in linter with multi-line comment #112

LPX-E5BD8 opened this issue Nov 21, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@LPX-E5BD8
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.

SQL:

/*
test
*/
select * from tb;

cmd:

soar -query 1.sql -report-type=lint
  1. What did you expect to see?
1.sql:4:CLA.001 最外层 SELECT 未指定 WHERE 条件
1.sql:4:COL.001 不建议使用 SELECT * 类型查询
  1. What did you see instead?
1.sql:1:CLA.001 最外层 SELECT 未指定 WHERE 条件
1.sql:1:COL.001 不建议使用 SELECT * 类型查询
  1. What version of are you using (soar -version)?
Version: 2018-11-21 09:55:57 +0800 v0.8.1-88-g6b0730a
Branch: master
Compile: 2018-11-21 09:58:45 +0800 by go version go1.10.4 darwin/amd64
GitDirty: 0
@martianzhang martianzhang added the bug Something isn't working label Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants