ZEN-14606. Fixed bug with decimal from mysql api