Line counter overflows after 65535 lines
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Reproduce the issue through the sqlcmd -i file.sql entry point with a script exceeding 65,535 lines, then trace how input line numbers are counted and reported in the error message. Done means an error on line 66,148 reports line 66,148 rather than an overflowed value.
Written by the indexing model from the issue text.
Description
Suppose you run a script with sqlcmd -i file.sql and you have an error in its 66148 line.
sqlcmd will report a wrong line in an error message.
Msg 208, Level 16, State 1, Server mssql\SQLEXPRESS, Line 613
Invalid object name 'default.dbo.ASSETS_EXTERNAL'.
It seems that the counter overflows. Not a huge deal, but took an hour of my time today :/
- Dominant language
- Go
- Stars
- 595
- Forks
- 91
- Avg merge
- 9h 35m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
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.
More from microsoft/go-sqlcmd
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
All issues in microsoft/go-sqlcmd
Similar issues
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
🤔 refinement needed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
equinor/radix-operator#1979 ·