In the wrong context, almost anything can be funny, and MySQL’s error codes are no exception. A few weeks ago, things got a little loopy at VividCortex headquarters as we discovered some definitions that could be taken more than one way.
How It Began
It started with ER_M_BIGGER_THAN_D
, which doesn’t
sound like an error at all. Anyone who knows alphabetical order
knows that M is bigger than D! Of course, the error is really
about an attempt to define a decimal or float column wrongly.
Next was ER_TOO_BIG_SCALE
, about which I tweeted “MongoDB doesn’t have this error, as far
as I know, but MySQL does.”
MongoDB doesn't have this error, as far as I know, but MySQL does.
ER_TOO_BIG_SCALE
…
[Read more]