Skip to content

Commit ef855be

Browse files
author
eitam
committed
charset query
1 parent 00d47cf commit ef855be

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

replication/row_event.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,9 +1037,6 @@ func (e *RowsEvent) decodeValue(data []byte, tp byte, charset string, meta uint1
10371037
case MYSQL_TYPE_NULL:
10381038
return nil, 0, nil
10391039
case MYSQL_TYPE_LONG:
1040-
if len(data) < 4 {
1041-
return nil, 0, nil
1042-
}
10431040
n = 4
10441041
v = ParseBinaryInt32(data)
10451042
case MYSQL_TYPE_TINY:

0 commit comments

Comments
 (0)