julien-duponchelle / julien-duponchelle/python-mysql-replication
Missing decode() when assigning the schema in query event
Open
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 690
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm porting pg_chameleon to python 3.5 and I've noticed the binlogevent.schema assigned in the query event is not decoded like it is in the rowevent.
https://github.com/noplay/python-mysql-replication/blob/master/pymysqlreplication/event.py#L138
Many thanks
Federico
Contributor guide
Research direction
Start at pymysqlreplication/event.py around line 138 and compare how schema is assigned in the query event with the rowevent path. Verify the relevant replication-event behavior; the issue is done when query events expose the decoded schema consistently with row events.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, python
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100