ForumMerge: Escaping issue when trying to get the structure of a table
patches opened this issue · 1 comments
patches commented
There is an issue when adding the database name before the table name when it comes to fetching the structure of a table.
$oldColumns = Gdn::structure()->get($oldDatabase.'.'.$oldPrefix.$table)->columns();
It looks like the escapeIdentifier($refExpr)
function from the Gdn_MySQLDriver
class is wrapping the prefix and the table name with backticks.
Here's a little more info around the error.
patches commented
An issue has been opened in core, see the reference above.