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

Take MySQL Column Type Into Account in VStreamer #9331

Merged
merged 2 commits into from
Dec 9, 2021

Commits on Dec 8, 2021

  1. Take MySQL column type into account in vstreamer

    This is required when we need to match MySQL behavior for data
    that requires column type information as well. For example, the
    binlog event metadata makes no distinction between events for a
    BINARY(4) column and events for a CHAR(4) column with a binary
    collation like utf8mb4_bin. So we need to know the underlying
    MySQL column type in order to handle them disctinctly -- MySQL
    pads (fixed length) binary columns on the right side with null
    bytes, but it does NOT do that for (fixed lengthed) CHARo
    columns, regardless of the collation.
    
    Signed-off-by: Matt Lord <mattalord@gmail.com>
    mattlord committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    cdb0575 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. Detect and handle MySQL 8 specifically in vstreamer tests

    And use ToLower when looking for BINARY types to be safe.
    
    Signed-off-by: Matt Lord <mattalord@gmail.com>
    mattlord committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    3ff9fbd View commit details
    Browse the repository at this point in the history