Skip to content

Commit 16ba005

Browse files
Merge pull request #18669 from kamil-tekiela/Fix-copy-table-with-spaces
Fix copy table with spaces
2 parents 80b1782 + 9fb85cc commit 16ba005

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎libraries/classes/Table.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,8 @@ public static function moveCopy(
977977
'export_type' => 'table',
978978
'single_table' => false,
979979
]);
980+
// It is better that all identifiers are quoted
981+
$exportSqlPlugin->useSqlBackquotes(true);
980982

981983
$noConstraintsComments = true;
982984
$GLOBALS['sql_constraints_query'] = '';

0 commit comments

Comments
 (0)