File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -401,8 +401,6 @@ func (e *TableMapEvent) UnsignedMap() map[int]bool {
401
401
// nil is returned if not available or no character columns at all.
402
402
func (e * TableMapEvent ) CollationMap () map [int ]uint64 {
403
403
404
- ret := make (map [int ]uint64 )
405
-
406
404
if len (e .DefaultCharset ) != 0 {
407
405
defaultCollation := e .DefaultCharset [0 ]
408
406
@@ -413,6 +411,7 @@ func (e *TableMapEvent) CollationMap() map[int]uint64 {
413
411
}
414
412
415
413
p := 0
414
+ ret := make (map [int ]uint64 )
416
415
for i := 0 ; i < int (e .ColumnCount ); i ++ {
417
416
if ! IsCharacterType (e .ColumnType [i ]) {
418
417
continue
@@ -432,6 +431,7 @@ func (e *TableMapEvent) CollationMap() map[int]uint64 {
432
431
if len (e .ColumnCharset ) != 0 {
433
432
434
433
p := 0
434
+ ret := make (map [int ]uint64 )
435
435
for i := 0 ; i < int (e .ColumnCount ); i ++ {
436
436
if ! IsCharacterType (e .ColumnType [i ]) {
437
437
continue
You can’t perform that action at this time.
0 commit comments