com.alibaba.druid.sql.parser.ParserException: error, LITERAL_CHARS

GitHub | wangyu4882 | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 949#238130305

    GitHub | 9 months ago | wangyu4882
    com.alibaba.druid.sql.parser.ParserException: error, LITERAL_CHARS
  2. 0

    Add full support for MySQL EXPLAIN

    GitHub | 1 month ago | bobtiernay-okta
    com.alibaba.druid.sql.parser.ParserException: syntax error, error in :'explain extended select * from foo',expect IDENTIFIER, actual IDENTIFIER extended

    Root Cause Analysis

    1. com.alibaba.druid.sql.parser.ParserException

      error, LITERAL_CHARS

      at com.alibaba.druid.sql.parser.SQLExprParser.nameRest()
    2. druid
      SQLUtils.toStatementList
      1. com.alibaba.druid.sql.parser.SQLExprParser.nameRest(SQLExprParser.java:994)
      2. com.alibaba.druid.sql.dialect.mysql.parser.MySqlExprParser.nameRest(MySqlExprParser.java:773)
      3. com.alibaba.druid.sql.parser.SQLExprParser.name(SQLExprParser.java:976)
      4. com.alibaba.druid.sql.parser.SQLStatementParser.parseCall(SQLStatementParser.java:1548)
      5. com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:339)
      6. com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:145)
      7. com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:140)
      8. com.alibaba.druid.sql.SQLUtils.toStatementList(SQLUtils.java:234)
      8 frames
    3. com.quicklaud.dfw
      BaseSqlWallTest.main
      1. com.quicklaud.dfw.sqlwall.BaseSqlWallTest.main(BaseSqlWallTest.java:144)
      1 frame