gh-ost/go
Andrew Mason 61de098072 Add a check to rows.Err after processing all rows
Closes #822.

In https://github.com/go-sql-driver/mysql/issues/1075, @acharis notes
that the way the go-sql driver is written, query timeout errors don't
get set in `rows.Err()` until _after_ a call to `rows.Next()` is made.

Because this kind of error means there will be no rows in the result
set, the `for rows.Next()` will never enter the for loop, so we must
check the value of `rows.Err()` after the loop, and surface the error up
appropriately.
2020-03-31 16:25:16 -04:00
..
base add override to ignore http errors 2020-03-25 15:58:32 -05:00
binlog Add initial support for ssl encryption connections to database servers. 2019-01-31 15:22:03 -06:00
cmd/gh-ost add override to ignore http errors 2020-03-25 15:58:32 -05:00
logic Add a check to rows.Err after processing all rows 2020-03-31 16:25:16 -04:00
mysql Improve SSL support 2019-02-22 10:33:19 -08:00
os renaming to gh-ost 2016-05-16 11:09:17 +02:00
sql minor changes and typo correction 2018-05-23 13:13:25 +08:00