Another epic failure on error messaging

This must be an epic failure in providing usable error codes, from a mySQL select query.

Got error 28 from storage engine

Doing some Binging, this turns out to mean "Your disk is full". Really? How about printing that out??

Re: Another epic failure on error messaging

Bing??? You could have had it easier:

grep '[^0-9]28' /usr/include/sys/errno.h

  1. define ENOSPC 28 /* No space left on device */

  • ok, I give up on trying to make this blog leave the pound sign alone

Re: Another epic failure on error messaging

Indeed. However, at the time, I had no idea that was actually a syserror, and not an internal mySQL error. Again, it doesn't give any hints to such either...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.