← Back to team overview

maria-discuss team mailing list archive

Re: virtual columns

 

Hi, Federico!

On Nov 09, Federico Razzoli wrote:
> Hello
> 
> I've read in the documentation that any legal SQL expression SHOULD be allowed 
> in the Virtual Columns definition. I'm trying to use a (deterministic) stored 
> function, but I get an error:
> ERROR 1642 (HY000): Function or expression is not allowed for column 'vc1'

The manual - http://kb.askmonty.org/v/virtual-columns -
clearly says (under the "Implementation Differences"):

 * MariaDB does not allow user-defined functions, even those flagged
   as DETERMINISTIC 
 
Regards,
Sergei



References