julien-duponchelle / python-mysql-replication

Pure Python Implementation of MySQL replication protocol build on top of PyMYSQL
2.31k stars 678 forks source link

Bug fix: typo in ident variable name #619

Closed fulghum closed 1 month ago

fulghum commented 1 month ago

Description

The HeartbeatLogEvent::dump method had a typo in the ident var name (indent was used instead). This caused a crash when dumping out heartbeat events.

Type of Change

Checklist

Tests

Additional Information

I tested this change manually, but haven't added tests yet. Feel free to suggest a good spot for this test and I'll be happy to take another pass.

julien-duponchelle commented 1 month ago

Good catch !