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 (
964
964
func (t EnumRowsEventType ) String () string {
965
965
switch t {
966
966
case EnumRowsEventTypeInsert :
967
- return "Insert "
967
+ return "insert "
968
968
case EnumRowsEventTypeUpdate :
969
- return "Update "
969
+ return "update "
970
970
case EnumRowsEventTypeDelete :
971
- return "Delete "
971
+ return "delete "
972
972
default :
973
973
return fmt .Sprintf ("unknown (%d)" , t )
974
974
}
@@ -1854,6 +1854,7 @@ func (e *RowsEvent) Dump(w io.Writer) {
1854
1854
fmt .Fprintf (w , "Flags: %d\n " , e .Flags )
1855
1855
fmt .Fprintf (w , "Column count: %d\n " , e .ColumnCount )
1856
1856
fmt .Fprintf (w , "NDB data: %s\n " , e .NdbData )
1857
+ fmt .Fprintf (w , "Event type: %s (%s)" , e .Type (), e .eventType )
1857
1858
1858
1859
fmt .Fprintf (w , "Values:\n " )
1859
1860
for _ , rows := range e .Rows {
You can’t perform that action at this time.
0 commit comments