Not the answer you need?
Register and ask your own question!

pt-deadlock-logger error

gregogrego EntrantInactive User Role Beginner
I'm getting the following error when trying to run pt-deadlock-logger:

[[email protected] ~]# 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, <STDIN> line 1.
[[email protected] ~]#


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

Comments

  • gregogrego Entrant Inactive User Role Beginner
    For the record line 2149 in the pt-deadlock-logger I'm using is:

    foreach my $txn ( sort { $a->{thread} <=> $b->{thread} } values %$txns ) {
  • lsorensenlsorensen Entrant Inactive User Role Beginner
    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)
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.