[phpMyAdmin Git] [phpmyadmin/sql-parser] 9b56a0: Improve SQL context loading

Michal Čihař michal at cihar.com
Wed Dec 6 10:45:56 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/sql-parser
  Commit: 9b56a083c53fd17d06d542ec21aac9a31093d3dc
      https://github.com/phpmyadmin/sql-parser/commit/9b56a083c53fd17d06d542ec21aac9a31093d3dc
  Author: Michal Čihař <michal at cihar.com>
  Date:   2017-12-06 (Wed, 06 Dec 2017)

  Changed paths:
    M CHANGELOG.md
    M src/Context.php
    M tests/Lexer/ContextTest.php

  Log Message:
  -----------
  Improve SQL context loading

- add fallback in case there is no version match
- do not zero one by one, byt by two to match version parts
- better handle corner cases

Fixes https://github.com/phpmyadmin/phpmyadmin/issues/13728

Signed-off-by: Michal Čihař <michal at cihar.com>




More information about the Git mailing list