Merge pull request #1392 from Tithugues/SQLWithoutDelimiter_master
Allow import SQL without delimiter till EOF.
This commit is contained in:
commit
89ae63ddf9
@ -465,7 +465,15 @@ class ImportSql extends ImportPlugin
|
||||
}
|
||||
|
||||
//Commit any possible data in buffers
|
||||
PMA_importRunQuery('', $this->_data, false, $sql_data);
|
||||
PMA_importRunQuery(
|
||||
$this->_stringFctToUse['substr'](
|
||||
$this->_data,
|
||||
$this->_queryBeginPosition
|
||||
), //Query to execute
|
||||
$this->_data,
|
||||
false,
|
||||
$sql_data
|
||||
);
|
||||
PMA_importRunQuery('', '', false, $sql_data);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user