Indeed. This is not a RDBMS problem. Its a MySQL problem and the correct solution is to use a mature DB.
Note: I wasn't involved in doing the update, so it's possible there was a better way to do it. The table is used by about 50 different applications.