diff --git a/ChangeLog b/ChangeLog index cd006aa3a4..2071613cf7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,7 @@ phpMyAdmin - ChangeLog - issue #11512 SQL editing window does not recognise 'OUTER' keyword in 'LEFT OUTER JOIN' - issue #11518 "NOT IN" clause not recognized (MySQL 5.6 and 5.7) - issue #11524 Yellow star does not change in database Structure after add/remove from favorites +- issue #11531 Invalid SQL in table definition when exporting table 4.5.0.2 (2015-09-25) - issue #11497 Incorrect indexes when exporting diff --git a/libraries/sql-parser/src/Components/OptionsArray.php b/libraries/sql-parser/src/Components/OptionsArray.php index a7fbf41249..a68df8ec63 100644 --- a/libraries/sql-parser/src/Components/OptionsArray.php +++ b/libraries/sql-parser/src/Components/OptionsArray.php @@ -197,7 +197,7 @@ class OptionsArray extends Component } } elseif ($state === 1) { $state = 2; - if ($token->value === '=') { + if ($token->token === '=') { $ret->options[$lastOptionId]['equals'] = true; continue; }