# File lib/dbd/mysql/database.rb, line 130
        def initialize(handle, attr)
            super
            # check server version to determine transaction capability
            ver_str = @handle.get_server_info
            major, minor, teeny = ver_str.split(".")
            teeny.sub!(/\D*$/, "")  # strip any non-numeric suffix if present
            server_version = major.to_i*10000 + minor.to_i*100 + teeny.to_i
            # It's not until 3.23.17 that SET AUTOCOMMIT,
            # BEGIN, COMMIT, and ROLLBACK all are available
            @have_transactions = (server_version >= 32317)
            # assume that the connection begins in AutoCommit mode
            @attr['AutoCommit'] = true
            @mutex = Mutex.new
        end