Skip to content
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 timestamp default value bug in multiple time zones. (#9115) (#9108) #9399

Merged
merged 3 commits into from
Feb 21, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove unsupported function test
  • Loading branch information
crazycs520 committed Feb 21, 2019
commit d66ddd636c5fab3db62096a147db3f371d93d8e1
9 changes: 0 additions & 9 deletions executor/write_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1861,15 +1861,6 @@ func (s *testSuite) TestNullDefault(c *C) {
tk.MustQuery("select * from test_null_default").Check(testkit.Rows("<nil>", "1970-01-01 08:20:34"))
}

func (s *testSuite) TestNotNullDefault(c *C) {
tk := testkit.NewTestKit(c, s.store)
tk.MustExec("use test; drop table if exists t1,t2;")
defer tk.MustExec("drop table t1,t2")
tk.MustExec("create table t1 (a int not null default null default 1);")
tk.MustExec("create table t2 (a int);")
tk.MustExec("alter table t2 change column a a int not null default null default 1;")
}

func (s *testBypassSuite) TestBypassLatch(c *C) {
store, err := mockstore.NewMockTikvStore(
// Small latch slot size to make conflicts.
Expand Down