Sqlserver WAITFOR DELAY 解析错误
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 28.2k
- Forks
- 8.6k
- PR merge metrics
- No merged PRs in 30d
Description
select * from t_blog where title = 'Title 4' IF(1=2) WAITFOR DELAY '0:0:1'
以上sql解析出错。
sqlserver2008 druid:1.0.12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported SQL Server 2008 input with Druid 1.0.12, starting with the parser entry point for SQL Server statements. Trace the failure around the IF and WAITFOR DELAY syntax; done means this statement parses successfully without an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100