Skip to content

Commit 77628a8

Browse files
authored
update mysql driver (#114)
1 parent b901017 commit 77628a8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ module github.com/pingcap/mysql-tester
33
go 1.19
44

55
require (
6-
github.com/go-sql-driver/mysql v1.7.1
6+
// It forks from github.com/go-sql-driver/mysql v1.7.1
7+
// We use it to get LastMessage() and RowsAffected()
8+
github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49
79
github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32
810
github.com/sirupsen/logrus v1.8.1
911
github.com/stretchr/testify v1.8.4
@@ -16,5 +18,3 @@ require (
1618
golang.org/x/sys v0.5.0 // indirect
1719
gopkg.in/yaml.v3 v3.0.1 // indirect
1820
)
19-
20-
replace github.com/go-sql-driver/mysql v1.7.1 => github.com/defined2014/mysql v0.0.0-20231117092812-9bc18244ae3e

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
22
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
33
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
4-
github.com/defined2014/mysql v0.0.0-20231117092812-9bc18244ae3e h1:LpeLPRxRsRvgUeZlsnSt1Poh4GqAtskuTMUrkoGhkZQ=
5-
github.com/defined2014/mysql v0.0.0-20231117092812-9bc18244ae3e/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
4+
github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49 h1:Q3Ri7Ycix4T+Ig7I896I6w0WuCajid2SgyierI16NSo=
5+
github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49/go.mod h1:5GYlY+PrT+c8FHAJTMIsyOuHUNf62KAQuRPMGssbixo=
66
github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32 h1:m5ZsBa5o/0CkzZXfXLaThzKuR85SnHHetqBCpzQ30h8=
77
github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32/go.mod h1:X2r9ueLEUZgtx2cIogM0v4Zj5uvvzhuuiu7Pn8HzMPg=
88
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=

src/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
"sync"
2929
"time"
3030

31-
"github.com/go-sql-driver/mysql"
31+
"github.com/defined2014/mysql"
3232
"github.com/pingcap/errors"
3333
log "github.com/sirupsen/logrus"
3434
)

0 commit comments

Comments
 (0)