Merge branch 'master' into range-query-offset

This commit is contained in:
Shlomi Noach 2017-08-27 07:59:26 +03:00 committed by GitHub
commit 4148a32c77
10 changed files with 14 additions and 14 deletions

View File

@ -3,9 +3,9 @@ create table gh_ost_test (
id int unsigned auto_increment,
i int not null,
ts0 timestamp default current_timestamp,
ts1 timestamp,
ts1 timestamp null,
dt2 datetime,
t datetime,
t datetime default current_timestamp,
updated tinyint unsigned default 0,
primary key(id, t),
key i_idx(i)

View File

@ -1 +1 @@
--alter="change column t t timestamp not null"
--alter="change column t t timestamp default current_timestamp"

View File

@ -3,9 +3,9 @@ create table gh_ost_test (
id int unsigned auto_increment,
i int not null,
ts0 timestamp default current_timestamp,
ts1 timestamp,
ts1 timestamp null,
dt2 datetime,
t datetime,
t datetime null,
updated tinyint unsigned default 0,
primary key(id),
key i_idx(i)

View File

@ -1 +1 @@
--alter="change column t t timestamp not null"
--alter="change column t t timestamp null"

View File

@ -2,7 +2,7 @@ drop table if exists gh_ost_test;
create table gh_ost_test (
id int auto_increment,
i int not null,
e enum('red', 'green', 'blue', 'orange') null default null collate 'utf8_bin',
e enum('red', 'green', 'blue', 'orange') not null default 'red' collate 'utf8_bin',
primary key(id, e)
) auto_increment=1;

View File

@ -3,7 +3,7 @@ create table gh_ost_test (
id int auto_increment,
i int not null,
ts0 timestamp default current_timestamp,
ts1 timestamp,
ts1 timestamp default current_timestamp,
dt2 datetime,
t datetime,
updated tinyint unsigned default 0,

View File

@ -3,8 +3,8 @@ create table gh_ost_test (
id int auto_increment,
i int not null,
ts0 timestamp default current_timestamp,
ts1 timestamp,
ts2 timestamp,
ts1 timestamp default current_timestamp,
ts2 timestamp default current_timestamp,
updated tinyint unsigned default 0,
primary key(id),
key i_idx(i)

View File

@ -3,7 +3,7 @@ create table gh_ost_test (
id int auto_increment,
i int not null,
ts0 timestamp default current_timestamp,
ts1 timestamp,
ts1 timestamp default current_timestamp,
dt2 datetime,
t datetime,
updated tinyint unsigned default 0,

View File

@ -1 +1 @@
--alter="change column t t timestamp not null"
--alter="change column t t timestamp not null default current_timestamp"

View File

@ -3,8 +3,8 @@ create table gh_ost_test (
id int auto_increment,
i int not null,
ts0 timestamp default current_timestamp,
ts1 timestamp,
ts2 timestamp,
ts1 timestamp default current_timestamp,
ts2 timestamp default current_timestamp,
updated tinyint unsigned default 0,
primary key(id),
key i_idx(i)