Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ protected function getSqlStatement(string $file_path, string $table_name, array
return implode(' ', [
'LOAD DATA LOCAL INFILE \'' . $file_path . '\'',
'INTO TABLE {' . $table_name . '}',
'CHARACTER SET utf8mb4',
'FIELDS TERMINATED BY \'' . $delimiter . '\'',
'OPTIONALLY ENCLOSED BY \'"\'',
'ESCAPED BY \'\'',
Expand Down