Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Apr 29, 2024
1 parent 6f4b136 commit d188cb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/server/mock_conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func CreateMockConn(t *testing.T, server *Server) MockConn {
require.NoError(t, err)

connID := rand.Uint64()
tc, err := server.driver.OpenCtx(connID, 0, uint16(tmysql.DefaultCollationID), "", nil, extensions.NewSessionExtensions())
tc, err := server.driver.OpenCtx(connID, 0, tmysql.DefaultCollationID, "", nil, extensions.NewSessionExtensions())
require.NoError(t, err)

cc := &clientConn{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func prepareTestTableData(keyNumber int, tableID int64) (*data, error) {
colInfos[i] = &tipb.ColumnInfo{
ColumnId: colIds[i],
Tp: int32(colTypes[i].GetType()),
Collation: mysql.DefaultCollationID,
Collation: int32(mysql.DefaultCollationID),
}
colTypeMap[colIds[i]] = colTypes[i]
}
Expand Down

0 comments on commit d188cb2

Please sign in to comment.