Skip to content

Commit

Permalink
executor: merge
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Nov 8, 2018
1 parent 070792d commit 58462e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/insert_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (e *InsertValues) initInsertColumns() error {
for _, col := range cols {
if col.Name.L == model.ExtraHandleName.L {
if !e.ctx.GetSessionVars().AllowWriteRowID {
return nil, errors.Errorf("insert, update and replace statements for _tidb_rowid are not supported.")
return errors.Errorf("insert, update and replace statements for _tidb_rowid are not supported.")
}
e.hasExtraHandle = true
break
Expand Down

0 comments on commit 58462e4

Please sign in to comment.