[jOOQ/jOOQ#9438] Use Sequence#getStartWith() for ALTER SEQUENCE RESTART
If the given `Sequence` has a non-`null` value for `getStartWith()` this will be used in the `ALTER SEQUENCE ... RESTART` emulation instead of just `1`.
This commit is contained in:
parent
e57125eaa9
commit
0c6fcefd0a
@ -443,6 +443,11 @@ final class AlterSequenceImpl<T extends Number> extends AbstractRowCountQuery im
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ctx.sql(' ').visit(K_RESTART);
|
||||
}
|
||||
else if (restartWith != null) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user