[Phpmyadmin-devel] Parser support for virtual columns
madhura.cj at gmail.com
Mon Jul 13 17:09:58 CEST 2015
MariaDB (5.2.0+) supports virtual columns and the syntax is
<type> [GENERATED ALWAYS] AS ( <expression> ) [VIRTUAL | PERSISTENT]
[UNIQUE] [UNIQUE KEY] [COMMENT <text>]
While implementing , to add parser support for virtual columns, I tried
to model this syntax using $FIELD_OPTIONS . Even though I am able to
retrieve the expression this way, all the brackets and spaces of the
expression are gone. As I understand, this due to the tokenization.
Do you have any suggestion for an alternative approach?
Thanks and Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Developers