From 34d541adeceba368448dfb3b331a16f68e503816 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 5 Nov 2021 18:19:57 +0100 Subject: [PATCH] (cp 52a800e) fixes #1547 protect word "groups" for MySQL 8 --- upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade.php b/upgrade.php index c2fb1d593..c385b91f1 100644 --- a/upgrade.php +++ b/upgrade.php @@ -78,7 +78,7 @@ function get_columns_of($tables) foreach ($tables as $table) { $query = ' -DESC '.$table.' +DESC `'.$table.'` ;'; $result = pwg_query($query);