lib/dbd/mysql/database.rb
#
# MySQL has several backends, some of which may not support commits.
# If the backend this database uses doesn't, calling this method will
# raise a DBI::NotSupportedError.
#
MySQL has several backends, some of which may not support commits.
If the backend this database uses doesn't, calling this method will
raise a DBI::NotSupportedError.
MySQL has several backends some of which may not support commits . If the backend this database uses doesn ' t calling this method will raise a DBI :: NotSupportedError .
def commit
            if @have_transactions
                self.do("COMMIT")
            else
                raise NotSupportedError
            end
        rescue MyError => err
            error(err)
        end
def commit if @have_transactions self . do ( "COMMIT" ) else raise NotSupportedError end rescue MyError => err error ( err ) end
MySQL has several backends, some of which may not support commits.
MySQL has several backends some of which may not support commits .