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
add binlog row minimal and noblob image support #103
Conversation
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
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) |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
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. :-)
What do yo think about having some specific tests for |
Well, testing bitmap may be not easy, is it ok to test MySQL row image instead? |
@noplay what do you think? I think we can merge it :) |
You are right ! Sorry with christmas i was busy. |
add binlog row minimal and noblob image support
Only test using python 2.7, mac osx.