This commit is contained in:
thsun 2021-01-14 14:51:14 +08:00
parent d0f0b95cf8
commit 2b5d5e0a11

View File

@ -6,11 +6,11 @@
package sql package sql
import ( import (
"bytes"
"fmt" "fmt"
"reflect" "reflect"
"strconv" "strconv"
"strings" "strings"
"bytes"
) )
type ColumnType int type ColumnType int
@ -33,10 +33,10 @@ type TimezoneConversion struct {
} }
type Column struct { type Column struct {
Name string Name string
IsUnsigned bool IsUnsigned bool
Charset string Charset string
Type ColumnType Type ColumnType
// add Octet length for binary type, fix bytes with suffix "00" get clipped in mysql binlog. // add Octet length for binary type, fix bytes with suffix "00" get clipped in mysql binlog.
// https://github.com/github/gh-ost/issues/909 // https://github.com/github/gh-ost/issues/909