You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the parser has an issue with fulltext index with ngram, which throws an exception. I've seen it on phpmyadmin: foreign keys (that are defined after the fulltext) are missing on the table's relations page.
Exception: A comma or a closing bracket was expected.
Exception debug for ->token:
public 'token' =>
object(PhpMyAdmin\SqlParser\Token)[1299]
public 'token' => string 'WITH' (length=4)
public 'value' => string 'WITH' (length=4)
public 'keyword' => string 'WITH' (length=4)
public 'type' => int 1
public 'flags' => int 3
public 'position' => int 128
The text was updated successfully, but these errors were encountered:
WITH PARSER only came from MySQL 5.1 and I can't find any MariaDB documentation about it.
I just found it is not part of the available tokens. Therefore, instead of parsing WITH PARSER, the parser parses WITH only, causing an error. I'll add the token in the contextes.
It seems the parser has an issue with fulltext index with ngram, which throws an exception. I've seen it on phpmyadmin: foreign keys (that are defined after the fulltext) are missing on the table's relations page.
Simple example with:
Exception:
A comma or a closing bracket was expected.
Exception debug for
->token
:The text was updated successfully, but these errors were encountered: