MySQL only supports transactions when using InnoDB tables.
But my point is more: is it possible to rollback a query that changed the database structure?
PostgreSQL does not have ALTER TABLE statements that can change the datatype of a column, so it can't roll that back.
On the other hand, MySQL is such a complete piece of crap that it probably can roll it back.
But there is one reason why it wouldn't work anyway: a rollback can only be done if a transaction was started. And if Roopa started a transaction I would have known that he could do a rollback to undo the changes. And even if he did, he most likely would have done a commit before checking the results.
If he had not done a commit, the changes would have been rolled back automatically when the connection was closed.