Fix #14957 - Virtuality is not selected when editing generated column

- added VIRTUAL STORED option for mariadb
Fixes: #14957

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2019-03-26 20:45:27 +01:00
commit 7339d91fa5
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -98,6 +98,7 @@
{% set options = {'': '', 'VIRTUAL': 'VIRTUAL'} %}
{% if server_type == 'MariaDB' %}
{% set options = options|merge({'PERSISTENT': 'PERSISTENT'}) %}
{% set options = options|merge({'STORED': 'STORED'}) %}
{% else %}
{% set options = options|merge({'STORED': 'STORED'}) %}
{% endif %}