fix a couple things for MySQL 5.5

This commit is contained in:
Baron Schwartz
2012-06-03 14:47:00 -04:00
parent 275ae93084
commit 1e082cfd34
2 changed files with 14 additions and 11 deletions

View File

@@ -26,16 +26,16 @@ is_deeply(
pt_deadlock_logger::parse_deadlocks($innodb_status_sample),
{
'1' => {
db => '',
db => 'test',
hostname => 'localhost',
id => 1,
idx => '',
idx => 'PRIMARY',
ip => '',
lock_mode => '',
lock_type => '',
lock_mode => 'X',
lock_type => 'RECORD',
query => 'update a set movie_id=96 where id =2',
server => '',
tbl => '',
tbl => 'a',
thread => '19',
ts => '2011-12-12T22:52:42',
txn_id => 0,
@@ -45,16 +45,16 @@ is_deeply(
wait_hold => 'w'
},
'2' => {
db => '',
db => 'test',
hostname => 'localhost',
id => 2,
idx => '',
idx => 'PRIMARY',
ip => '',
lock_mode => '',
lock_type => '',
lock_mode => 'X',
lock_type => 'RECORD',
query => 'update a set movie_id=98 where id =4',
server => '',
tbl => '',
tbl => 'a',
thread => '18',
ts => '2011-12-12T22:52:42',
txn_id => 0,