File tree 3 files changed +7
-36
lines changed
3 files changed +7
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
drop table if exists gh_ost_test;
2
2
create table gh_ost_test (
3
- id bigint ,
3
+ id bigint not null ,
4
4
i int not null ,
5
- ts timestamp (6 ),
5
+ ts timestamp (6 ) not null ,
6
6
unique key id_uidx(id),
7
7
unique key its_uidx(i, ts)
8
8
) ;
Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ test_mysql_version() {
50
50
51
51
export PATH=" ${PWD} /gh-ost-ci-env/bin/:${PATH} "
52
52
53
- gh-ost-test-mysql-master -uroot -e " grant all on *.* to 'gh-ost'@'%' identified by 'gh-ost'"
53
+ gh-ost-test-mysql-master -uroot -e " create user 'gh-ost'@'%' identified by 'gh-ost'"
54
+ gh-ost-test-mysql-master -uroot -e " grant all on *.* to 'gh-ost'@'%'"
54
55
55
56
echo " ### Running gh-ost tests for $mysql_version "
56
57
./localtests/test.sh -b bin/gh-ost
@@ -61,6 +62,9 @@ test_mysql_version() {
61
62
echo " Building..."
62
63
. script/build
63
64
# Test all versions:
65
+ find gh-ost-ci-env/mysql-tarballs/ -name " *.tar.gz" | while read f ; do basename $f " .tar.gz" ; done | sort -r | while read mysql_version ; do
66
+ echo " found MySQL version: $mysql_version "
67
+ done
64
68
find gh-ost-ci-env/mysql-tarballs/ -name " *.tar.gz" | while read f ; do basename $f " .tar.gz" ; done | sort -r | while read mysql_version ; do
65
69
test_mysql_version " $mysql_version "
66
70
done
You can’t perform that action at this time.
0 commit comments