Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
database/sql: sql argument counts are off by one when reporting an error #15676
I know this is pretty trivial, but when reporting an error the sql package seems to report arguments by counting them starting at zero.
Since SQL arguments are generally numbered from 1 -- and indeed, for PostgreSQL they are numbered $1, $2, $3... in the SQL itself -- this confused me.
go version go1.6.2 linux/amd64