File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -964,11 +964,11 @@ const (
964964func (t EnumRowsEventType ) String () string {
965965 switch t {
966966 case EnumRowsEventTypeInsert :
967- return "Insert "
967+ return "insert "
968968 case EnumRowsEventTypeUpdate :
969- return "Update "
969+ return "update "
970970 case EnumRowsEventTypeDelete :
971- return "Delete "
971+ return "delete "
972972 default :
973973 return fmt .Sprintf ("unknown (%d)" , t )
974974 }
@@ -1854,6 +1854,7 @@ func (e *RowsEvent) Dump(w io.Writer) {
18541854 fmt .Fprintf (w , "Flags: %d\n " , e .Flags )
18551855 fmt .Fprintf (w , "Column count: %d\n " , e .ColumnCount )
18561856 fmt .Fprintf (w , "NDB data: %s\n " , e .NdbData )
1857+ fmt .Fprintf (w , "Event type: %s (%s)" , e .Type (), e .eventType )
18571858
18581859 fmt .Fprintf (w , "Values:\n " )
18591860 for _ , rows := range e .Rows {
You can’t perform that action at this time.
0 commit comments