# pt-deadlock-logger bug?

**URL:** https://forums.percona.com/t/pt-deadlock-logger-bug/2593
**Category:** Percona Toolkit
**Created:** [November 9, 2012, 11:46am UTC](https://forums.percona.com/t/pt-deadlock-logger-bug/2593 "2012-11-09T11:46:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![guyverix](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/guyverix/32/902_2.png) [@guyverix](https://forums.percona.com/u/guyverix)
#### Post date: [November 9, 2012, 11:46am UTC](https://forums.percona.com/t/pt-deadlock-logger-bug/2593/1 "2012-11-09T11:46:19Z")

</div>

I am using the toolkit 2.1.5 pt-deadlock-logger (upgraded from an old maakit release) and noticed that the userid does not get recoreded in the database if there is a dash in the userid. Is there a way to fix this behavior?

Unfortunately I am not a Perl coder, so I dont know if a simple escape of the dash would work in the code…

Any suggestions?

---

<div class="post-metadata">

### Author: ![martin.arrieta](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/martin.arrieta/32/16888_2.png) [@martin.arrieta](https://forums.percona.com/u/martin.arrieta)
#### Post date: [November 22, 2012, 11:42am UTC](https://forums.percona.com/t/pt-deadlock-logger-bug/2593/2 "2012-11-22T11:42:20Z")

</div>

Hi,

I was able to reproduce this problem and I have created a bug report in LP. [URL][https://bugs.launchpad.net/percona-toolkit/+bug/1082104[/URL]](https://bugs.launchpad.net/percona-toolkit/+bug/1082104%5B/URL%5D)

If you don’t have enough perl skills (like me), you can monitor this bug and wait for a patch :). It shouldn’t be hard to fix.

Martin Arrieta  
@martinarrietac
