diff .travis.yml @ 6617:bae541e5fb26

Fix change to mysql COLLATION command was missing file to sed.
author John Rouillard <rouilj@ieee.org>
date Sat, 12 Feb 2022 12:16:27 -0500
parents b8e74fd34f97
children 19897a7ef409
line wrap: on
line diff
--- a/.travis.yml	Sat Feb 12 10:39:01 2022 -0500
+++ b/.travis.yml	Sat Feb 12 12:16:27 2022 -0500
@@ -125,7 +125,9 @@
 
   # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
   #   needed for test_mysql.mysqlDBTest.testFilteringSpecialChars
-  - sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/'
+  # plus others. Otherwise we get:
+  # COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4'
+  - sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py
 
   # build the .mo translation files and install them into a tree
   # (locale/locale under roundup directory root) 

Roundup Issue Tracker: http://roundup-tracker.org/