Skip to content

Commit aecef57

Browse files
authored
copy_state: use a mediumblob instead of a smaller varbinary for lastpk (#18852)
Signed-off-by: Nick Van Wiggeren <[email protected]>
1 parent cdb3d88 commit aecef57

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)