From 52a800ee6c3f0aa2ea7f30d61da9d9f1b1a01aa4 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 5 Nov 2021 18:18:26 +0100 Subject: [PATCH] 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);