mysql adapter also fails with a number bigger than int