fixes #1547 protect word "groups" for MySQL 8

This commit is contained in:
plegall 2021-11-05 18:18:26 +01:00
parent 97fce5d251
commit 52a800ee6c

View file

@ -78,7 +78,7 @@ function get_columns_of($tables)
foreach ($tables as $table)
{
$query = '
DESC '.$table.'
DESC `'.$table.'`
;';
$result = pwg_query($query);