Skip to content

Commit

Permalink
Reduce size of data to read.
Browse files Browse the repository at this point in the history
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
  • Loading branch information
Tithugues committed Oct 12, 2014
1 parent 713a4ef commit 2da2c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/plugins/import/ImportSql.class.php
Expand Up @@ -268,7 +268,7 @@ public function doImport(&$sql_data = array())

while (!$timeout_passed) {
if (false === $positionDelimiter) {
$newData = PMA_importGetNextChunk();
$newData = PMA_importGetNextChunk(200);
if ($newData === false) {
// subtract data we didn't handle yet and stop processing
$GLOBALS['offset'] -= /*overload*/mb_strlen($query);
Expand Down

1 comment on commit 2da2c4c

@nijel
Copy link
Contributor

@nijel nijel commented on 2da2c4c Aug 18, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you remember what was reason for this?

Please sign in to comment.