Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add binlog row minimal and noblob image support #103

Merged
merged 14 commits into from Dec 29, 2014

Conversation

siddontang
Copy link
Contributor

Only test using python 2.7, mac osx.

@bjoernhaeuser
Copy link
Collaborator

Can you please fix and some tests?

TypeError: unsupported operand type(s) for &: 'float' and 'int'
TypeError: 'float' object cannot be interpreted as an integer
TypeError: bytearray indices must be integers
error: unpack requires a string argument of length 4
error: unpack requires a string argument of length 4
@siddontang
Copy link
Contributor Author

Sorry that I have not used python for nearly 2 years and fixing errors for different python version drives me crazy 😢


row["before_values"] = self._read_column_data(null_bitmap)
b = Bitmap(self.columns_present_bitmap, self.number_of_columns)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so b is the null_bitmap? Why not name it so :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b is null_bitmap, but named cols bitmap in mysql source, I will use it later. :-)

@bjoernhaeuser
Copy link
Collaborator

What do yo think about having some specific tests for Bitmap?

@siddontang
Copy link
Contributor Author

Well, testing bitmap may be not easy, is it ok to test MySQL row image instead?

@bjoernhaeuser
Copy link
Collaborator

@noplay what do you think? I think we can merge it :)

@julien-duponchelle
Copy link
Owner

You are right ! Sorry with christmas i was busy.

julien-duponchelle added a commit that referenced this pull request Dec 29, 2014
add binlog row minimal and noblob image support
@julien-duponchelle julien-duponchelle merged commit 6879d41 into julien-duponchelle:master Dec 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants