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

            Bug ID: 37476
           Summary: RANK is a reserved word in MySQL 8.0.2+
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

As of MySQL 8.0.2 [1], `rank` is a reserved word and is breaking some code [2]:

```
C4::Serials::addroutingmember(): DBI Exception: DBD::mysql::st execute failed:
You have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near 'rank FROM
subscriptionroutinglist WHERE subscriptionid = '59'' at line 1 at
t/db_dependent/Serials.t line 227
```

[1] https://dev.mysql.com/doc/refman/8.0/en/keywords.html
[2] https://jenkins.koha-community.org/job/Koha_Main_My8/1322/consoleFull

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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