Skip to content

Commit

Permalink
add a todo
Browse files Browse the repository at this point in the history
  • Loading branch information
djshow832 committed Nov 30, 2021
1 parent a00bd52 commit 7bc06ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions executor/write_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2424,6 +2424,7 @@ func TestInsertCalculatedValue(t *testing.T) {

tk.MustExec("drop table if exists t")
tk.MustExec("create table t (a json not null, b int)")
// TODO: MySQL reports 3156 instead of ErrTruncatedWrongValueForField.
tk.MustGetErrCode("insert into t value (a,a->'$')", mysql.ErrTruncatedWrongValueForField)

tk.MustExec("drop table if exists t")
Expand Down

0 comments on commit 7bc06ad

Please sign in to comment.