julien-duponchelle / python-mysql-replication

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

Bug fix: typo in ident variable name #619

Closed fulghum closed 4 months ago

fulghum commented 4 months 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 4 months ago

Good catch !