Skip to content

Commit

Permalink
DBZ-7792 Upgrade vitess, clarify bitmask set conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
twthorn authored and jpechane committed May 29, 2024
1 parent 3536c89 commit 64e623f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ protected Object convertSetToString(List<String> options, Column column, Field f
r.deliver(data);
}
else {
// The binlog will contain a long with the indexes of the options in the set value ...
// The binlog will contain a 64-bit bitmask with the indexes of the options in the set value ...
long indexes = ((Long) data).longValue();
r.deliver(convertSetValue(column, indexes, options));
}
Expand All @@ -294,7 +294,7 @@ protected String convertSetValue(Column column, long indexes, List<String> optio
boolean first = true;
int optionLen = options.size();
while (indexes != 0L) {
if (indexes % 2L != 0) {
if ((indexes & 1) == 1) {
if (first) {
first = false;
}
Expand Down
4 changes: 2 additions & 2 deletions src/test/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Use a temporary layer for the build stage.
FROM vitess/base:v19.0.3 AS base
FROM vitess/base:v19.0.4 AS base

FROM vitess/lite:v19.0.3
FROM vitess/lite:v19.0.4

USER root

Expand Down

0 comments on commit 64e623f

Please sign in to comment.