https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38906

            Bug ID: 38906
           Summary: REGEXP_REPLACE not in MySQL < 5.8 DB update
                    24.06.00.064 fails
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

In bug 38436 Katrin mentions that REGEXP_REPLACE was a problem, it still can be
if using MySQL 5.7 or below

We had a test site update fail

Seems to be easily fixed by changing to:
UPDATE columns_settings SET 
columnname=SUBSTRING(columnname,LOCATE("_",columnname)+1) WHERE
module="catalogue" AND page="detail" AND ( tablename="holdings_table" OR
tablename="otherholdings_table");

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to