Thank you for investigating. On Friday, February 1, 2019 at 3:01:35 PM UTC+5:30, Inada Naoki wrote: > > Hello, I'm one of maintainer of go-sql-driver/mysql. > > When there is only one result set, you don't need NextResultSet(). > See this example. > > https://play.golang.org/p/rhm4Xp6WejB > > Then, when you have multi result set, you need to call NextResultSet() > once to get 2nd result set. > See this example. > > https://play.golang.org/p/C-le-V7NWBx > > After reading Lutz's sample code. I found lib/pq has different semantics. > I'm not sure which is the right semantics, intended by database/sql APIs. > > Regards, >
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.