# File lib/dbd/mysql/database.rb, line 256
256:         def rollback
257:             if @have_transactions
258:                 self.do("ROLLBACK")
259:             else
260:                 raise NotSupportedError
261:             end
262:         rescue MyError => err
263:             error(err)
264:         end