diff --git a/bats/auto_increment.bats b/bats/auto_increment.bats index 5a93e44596..75d4f1a265 100644 --- a/bats/auto_increment.bats +++ b/bats/auto_increment.bats @@ -293,4 +293,29 @@ SQL [[ "$output" =~ "20,20" ]] || false [[ "$output" =~ "30,30" ]] || false [[ "$output" =~ "31,31" ]] || false +} + +@test "adding index to AUTO_INCREMENT doesn't reset sequence" { + dolt sql <