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: Improper error handling. #29975
@kardianos, let me clear, i am new to database.
The reason behind escalating this issue is that i want to know in which case NextResultSet return true?
I tried all the cases using mysql database it is always returning false. If so then what is the use case of implementing NextResultSet?
Before giving your answer, i would suggest you to do sample program on NextResultSet where it can return true case.
I hope you got my Question.
Its was my big mistake. There is NO issue in NextResultSet method.
I was working with different databases using golang sql package.
I was thinking this same behavior with MySQL using (github.com/go-sql-driver/mysql)
Eventually i found unexpected behavior (or bug) of lib/pq
I filed an issue report on lib/pq.