pingcap/tidb
View on GitHubMove the check for `_tidb_rowid` from executor to planner
Open
#14,221 opened on Dec 25, 2019
help wantedtype/enhancement
Description
Feature Request
Describe the feature you'd like:
Currently we check the _tidb_rowid in executor:
https://github.com/pingcap/tidb/blob/57ecfb9b466392853200e9ffebcdd6ebf631ab91/executor/update.go#L284-L293
https://github.com/pingcap/tidb/blob/57ecfb9b466392853200e9ffebcdd6ebf631ab91/executor/insert_common.go#L135-L142
It's better to check this in planer.