This paper discusses an overflow in the DOUBLE data type in MySQL.
You can download it from the following link: https://packetstormsecurity.com/files/download/133256/mysql-error-based-injection-using-exp.pdf
Source: https://packetstormsecurity.com/files/133256/MySQL-Error-Based-SQL-Injection-Using-EXP.html