-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] : fix moc3399 #16594
[fix] : fix moc3399 #16594
Conversation
…lumns, there is no need to call the Reset interface of increment_service.
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Review 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
When truncate table, if the table does not have any auto-incr col, there is no need to call the Reset interface of increment_service Approved by: @ouyuanning, @sukki37
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #https://github.com/matrixorigin/MO-Cloud/issues/3399
What this PR does / why we need it:
When truncate table, if the table does not have any auto-incr col, there is no need to call the Reset interface of increment_service
PR Type
Bug fix
Description
increment_service
during a table truncate operation.Changes walkthrough 📝
ddl.go
Add check for auto-increment columns before resetting
pkg/sql/compile/ddl.go
interface.
columns.