← Back to team overview

maria-developers team mailing list archive

COT() function

 

Hi

SELECT COT(0) returns:

ERROR 1690 (22003): DOUBLE value is out of range in 'cot(0)'

in both MariaDB 10 and 5.5, but in MySQL 5.1 it returns NULL.

I can't find a changelog reference to this, but I see it's still documented as returning NULL in MySQL 5.5 (I don't have this to test on). Is this a MariaDB-specific change? When did this change in behaviour happen?

thanks,
ian


Follow ups