Skip to content

Commit 34aea4d

Browse files
committed
Fix change to mysql COLLATION command
was missing file to sed.
1 parent c94b791 commit 34aea4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ before_script:
125125

126126
# HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
127127
# needed for test_mysql.mysqlDBTest.testFilteringSpecialChars
128-
- sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/'
128+
# plus others. Otherwise we get:
129+
# COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4'
130+
- sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py
129131

130132
# build the .mo translation files and install them into a tree
131133
# (locale/locale under roundup directory root)

0 commit comments

Comments
 (0)