sql: raise an integer overflow error during CAST
Before this patch, if integer overflow occurred during casting to integer, it was simply ignored. As a result, wrong results might take place. Lets check possible overflows before CAST conversion, and if it happens, raise an appropriate error. Part of #3735
Please register or sign in to comment