From 72a3fb764b3962fc5d96b8e6c6299e311eed03e9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 25 Aug 2018 18:26:31 +0200 Subject: [PATCH] Fix compatibility with MySQL 8 - error on 'system' table use --- CHANGELOG | 2 ++ SQL/mysql.initial.sql | 2 +- SQL/postgres.initial.sql | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 0d43a291a..517309858 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ CHANGELOG Roundcube Webmail =========================== +- Fix compatibility with MySQL 8 - error on 'system' table use + RELEASE 1.4-beta ---------------- - Added new skin with mobile support - the Elastic diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql index f3b81029c..d3a9f731d 100644 --- a/SQL/mysql.initial.sql +++ b/SQL/mysql.initial.sql @@ -222,4 +222,4 @@ CREATE TABLE `system` ( /*!40014 SET FOREIGN_KEY_CHECKS=1 */; -INSERT INTO system (name, value) VALUES ('roundcube-version', '2018021600'); +INSERT INTO `system` (`name`, `value`) VALUES ('roundcube-version', '2018021600'); diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql index 5fda9e7ff..3ced2e78a 100644 --- a/SQL/postgres.initial.sql +++ b/SQL/postgres.initial.sql @@ -313,4 +313,4 @@ CREATE TABLE "system" ( value text ); -INSERT INTO system (name, value) VALUES ('roundcube-version', '2018021600'); +INSERT INTO "system" (name, value) VALUES ('roundcube-version', '2018021600');