(t *testing.T)
| 277 | } |
| 278 | |
| 279 | func TestIssue56832(t *testing.T) { |
| 280 | store := testkit.CreateMockStore(t) |
| 281 | tk := testkit.NewTestKit(t, store) |
| 282 | tk.MustExec("use test") |
| 283 | tk.MustExec("drop table if exists t") |
| 284 | tk.MustExec("create table t (id int primary key, c enum('0', '1', '2'));") |
| 285 | tk.MustExec("insert into t values (0,'0'), (1,'1'), (2,'2');") |
| 286 | tk.MustExec("update t set c = 2 where id = 0;") |
| 287 | tk.MustQuery("select c from t where id = 0").Check(testkit.Rows("1")) |
| 288 | } |
nothing calls this directly
no test coverage detected