From 078f60103792148258760472018994d7341972ad Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Thu, 16 Sep 2021 23:13:06 +0200
Subject: [PATCH] TST: mysql-5

---
 .gitlab-ci.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 10528f8..2b6cb2d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,9 +87,10 @@ unittests-mysql-5:
       command: ["--default-authentication-plugin=mysql_native_password"]
 
   script:
-    # remove autotap because the checks of (autogenerated) names of constraints
-    # and the checks of column default values don't work with mysql
-    - rm tests/test_autotap.sql
+    # remove some lines from autotap because the checks of column default
+    # values don't work with mysql-5
+    - sed -i "/col_default_is.*NULL/d" tests/test_autotap.sql
+    - sed -i "/col_default_is.*INACTIVE/d" tests/test_autotap.sql
     - make pipeline-test SQL_HOST=mysql
 
 ######## Deploy ########
-- 
GitLab