- // map username to row details
- users := make(map[string]pl_by_user_row)
- hosts_by_user := make(map[string]map_string_string)
- dbs_by_user := make(map[string]map_string_string)
- // var dbs map[string]map_string_string
- // Command state
- // | 3859522915 | m1m1repl | bc210bprdb-01.lhr4.prod.booking.com:58703 | NULL | Binlog Dump | 4165475 | Master has sent all binlog to slave; waiting for binlog to be updated | NULL |
- // | 4179949288 | m1m1repl | xc238bprdb-01.lhr4.prod.booking.com:34391 | NULL | Binlog Dump | 3053011 | Master has sent all binlog to slave; waiting for binlog to be updated | NULL |
- // | 4336765784 | m1m1repl | bc279bprdb-01.lhr4.prod.booking.com:50991 | NULL | Binlog Dump | 2523403 | Sending binlog event to slave | NULL |
+
+ row_by_user := make(map[string]pl_by_user_row)
+ hosts_by_user := make(map[string]map_string_int)
+ dbs_by_user := make(map[string]map_string_int)