Merge pull request #1388 from Tithugues/b4495_master

Fix #4495 Comment lines in multiquery
This commit is contained in:
Marc Delisle 2014-11-10 10:10:15 -05:00
commit c80ab10539
3 changed files with 7 additions and 1 deletions

View File

@ -56,6 +56,7 @@ phpMyAdmin - ChangeLog
- bug #4564 Designer: spaces in table name with edit table link generates bad links
- bug #4582 Debug SQL works only for the first page
- bug #3869 Count(*) on information_scheme.INNODB_BUFFER_PAGE with a huge bufferpool
- bug #4495 Comment lines in multiquery
4.2.12.0 (not yet released)
- bug #4574 Blank/white page when JavaScript disabled

View File

@ -296,6 +296,11 @@ class ImportSql extends ImportPlugin
//throw new Exception('Unknown case.');
break;
}
if (0 === $this->_firstSearchChar) {
$this->_queryBeginPosition = $this->_delimiterPosition;
}
continue;
}

View File

@ -698,7 +698,7 @@ function PMA_getHtmlForOneStatement($entry, $filter_users,
* @param array $url_params url parameters
* @param string $drop_image_or_text drop image or text
*
* @return array
* @return array
*/
function PMA_getHtmlForDataDefinitionStatements($data, $filter_users,
$filter_ts_from, $filter_ts_to, $url_params, $drop_image_or_text