    # File lib/active_record/connection_adapters/sybase_adapter.rb, line 572
          def srvmsgCB(con, msg)
            # Do not log change of context messages.
            if msg['severity'] == 10 or msg['severity'] == 0
              return true
            end

            if msg['msgnumber'] == DEADLOCK
              @deadlocked = true
            else
              @logger.info "SQL Command failed!" if @logger
              @failed = true
            end

            if @logger
              @logger.error "** SybSQLContext Server Message: **"
              @logger.error "  Message number #{msg['msgnumber']} Severity #{msg['severity']} State #{msg['state']} Line #{msg['line']}"
              @logger.error "  Server #{msg['srvname']}"
              @logger.error "  Procedure #{msg['proc']}"
              @logger.error "  Message String:  #{msg['text']}"
            end

            @message = msg['text']

            true
          end