# File lib/dbd/mysql/database.rb, line 293
        def []=(attr, value)
            case attr
            when 'AutoCommit'
                if @have_transactions
                    self.do("SET AUTOCOMMIT=" + (value ? "1" : "0"))
                else
                    raise NotSupportedError
                end
            else
                raise NotSupportedError
            end

            @attr[attr] = value
        end