Skip to content

Commit 04da7bc

Browse files
[release-21.0] copy_state: use a mediumblob instead of a smaller varbinary for lastpk (vitessio#18852) (vitessio#18857)
Signed-off-by: Nick Van Wiggeren <[email protected]> Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
1 parent e542a9f commit 04da7bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/vt/sidecardb/schema/vreplication/copy_state.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ CREATE TABLE IF NOT EXISTS copy_state
1919
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
2020
`vrepl_id` int NOT NULL,
2121
`table_name` varbinary(128) NOT NULL,
22-
`lastpk` varbinary(2000) DEFAULT NULL,
22+
`lastpk` mediumblob DEFAULT NULL,
2323
PRIMARY KEY (`id`),
2424
KEY `vrepl_id` (`vrepl_id`,`table_name`)
2525
) ENGINE = InnoDB CHARSET = utf8mb4

0 commit comments

Comments
 (0)