Announcement

Announcement Module
Collapse
No announcement yet.

pt-deadlock-logger error

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • pt-deadlock-logger error

    I'm getting the following error when trying to run pt-deadlock-logger:

    [root@13765-57713 ~]# pt-deadlock-logger --print --ask-pass --use=hsadmin --host=localhost
    Enter password:
    Argument "" isn't numeric in numeric comparison (<=>) at /usr/bin/pt-deadlock-logger line 2149, line 1.
    [root@13765-57713 ~]#


    I'm using the latest pt-deadlock-logger just pulled down today.

    Running on:
    CentOS5.8
    perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux
    Linux 13765-57713 2.6.18-308.1.1.el5 #1 SMP Wed Mar 7 04:16:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    Percona 5.5.21

  • #2
    For the record line 2149 in the pt-deadlock-logger I'm using is:

    foreach my $txn ( sort { $a->{thread} <=> $b->{thread} } values %$txns ) {

    Comment


    • #3
      Same error noted here.

      pt-deadlock-logger 2.1.1
      This is perl, v5.8.8 built for x86_64-linux-thread-multi
      Linux 2.6.18-308.4.1.el5 #1 SMP Tue Apr 17 17:08:00 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
      CentOS release 5.8 (Final)

      Comment


      • #4
        im getting the same error, different line number:
        Argument "" isn't numeric in numeric comparison (<=>) at /usr/bin/pt-deadlock-logger line 2145.

        Comment

        Working...
        X