julien-duponchelle / julien-duponchelle/python-mysql-replication

Missing decode() when assigning the schema in query event

Open
#186 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.