[phpMyAdmin Git] [phpmyadmin/sql-parser] 34b130: Fix parsing of user at host without backquotes

Michal Čihař michal at cihar.com
Tue Sep 20 08:41:12 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/sql-parser
  Commit: 34b1308d30efe6e91e0883fdce1bf4d1fce447b9
      https://github.com/phpmyadmin/sql-parser/commit/34b1308d30efe6e91e0883fdce1bf4d1fce447b9
  Author: Deven Bansod <devenbansod.bits at gmail.com>
  Date:   2016-09-20 (Tue, 20 Sep 2016)

  Changed paths:
    M src/Components/OptionsArray.php
    M src/Statements/CreateStatement.php
    M tests/Parser/CreateStatementTest.php
    M tests/data/bugs/gh16.out
    M tests/data/bugs/pma11843.out
    M tests/data/parser/parseCreateTable.out
    M tests/data/parser/parseCreateTable2.out
    M tests/data/parser/parseCreateTable3.out
    M tests/data/parser/parseCreateTable5.out
    M tests/data/parser/parseCreateTable6.out
    M tests/data/parser/parseCreateView.out
    A tests/data/parser/parseCreateViewWithQuotes.in
    A tests/data/parser/parseCreateViewWithQuotes.out
    A tests/data/parser/parseCreateViewWithoutQuotes.in
    A tests/data/parser/parseCreateViewWithoutQuotes.out

  Log Message:
  -----------
  Fix parsing of user at host without backquotes

Introduce an option to parse 'expr=' (like var, var=, expr)

Fix tests

Fix phpmyadmin/phpmyadmin#12298

Signed-off-by: Deven Bansod <devenbansod.bits at gmail.com>


  Commit: 60e7833e6b77fcb191778c6b381a621de22a16d1
      https://github.com/phpmyadmin/sql-parser/commit/60e7833e6b77fcb191778c6b381a621de22a16d1
  Author: Michal Čihař <michal at cihar.com>
  Date:   2016-09-20 (Tue, 20 Sep 2016)

  Changed paths:
    M src/Components/OptionsArray.php
    M src/Statements/CreateStatement.php
    M tests/Parser/CreateStatementTest.php
    M tests/data/bugs/gh16.out
    M tests/data/bugs/pma11843.out
    M tests/data/parser/parseCreateTable.out
    M tests/data/parser/parseCreateTable2.out
    M tests/data/parser/parseCreateTable3.out
    M tests/data/parser/parseCreateTable5.out
    M tests/data/parser/parseCreateTable6.out
    M tests/data/parser/parseCreateView.out
    A tests/data/parser/parseCreateViewWithQuotes.in
    A tests/data/parser/parseCreateViewWithQuotes.out
    A tests/data/parser/parseCreateViewWithoutQuotes.in
    A tests/data/parser/parseCreateViewWithoutQuotes.out

  Log Message:
  -----------
  Merge pull request #85 from devenbansod/fix_spaces_in_definer

Fix parsing of user at host without backquotes


Compare: https://github.com/phpmyadmin/sql-parser/compare/5988855152a5...60e7833e6b77


More information about the Git mailing list