Skip to content

Commit cfde53f

Browse files
committed
Remove unused constants
Signed-off-by: Noble Mittal <[email protected]>
1 parent 143d318 commit cfde53f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

go/vt/vtctl/workflow/sequences.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ import (
4242
)
4343

4444
const (
45-
sqlInitSequenceTable = "insert into %a.%a (id, next_id, cache) values (0, %d, 1000) on duplicate key update next_id = if(next_id < %d, %d, next_id)"
4645
sqlCreateSequenceTable = "create table if not exists %a (id int, next_id bigint, cache bigint, primary key(id)) comment 'vitess_sequence'"
4746
sqlGetCurrentSequenceVal = "select next_id from %a.%a where id = 0"
48-
sqlGetMaxSequenceVal = "select max(%a) as maxval from %a.%a"
4947
)
5048

5149
// sequenceMetadata contains all of the relevant metadata for a sequence that

0 commit comments

Comments
 (0)