Skip to content

Commit

Permalink
Patch for newer versions of MariaDB
Browse files Browse the repository at this point in the history
  • Loading branch information
Barmy committed Sep 29, 2024
1 parent 488833e commit fb72f44
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions plugins/node.d/mysql_
Original file line number Diff line number Diff line change
Expand Up @@ -2163,15 +2163,18 @@ sub parse_innodb_status {
'BUFFER POOL AND MEMORY' => \&parse_buffer_pool_and_memory,
'INDIVIDUAL BUFFER POOL INFO' => \&parse_individual_buffer_pool,
'FILE I/O' => \&parse_file_io,
'INSERT BUFFER AND ADAPTIVE HASH INDEX'
=> \&parse_insert_buffer_and_adaptive_hash_index,
'LATEST DETECTED DEADLOCK' => \&skip,
'LATEST FOREIGN KEY ERROR' => \&skip,
'LOG' => \&parse_log,
'ROW OPERATIONS' => \&parse_row_operations,
'SEMAPHORES' => \&parse_semaphores,
'TRANSACTIONS' => \&parse_transactions,
'BACKGROUND THREAD' => \&parse_background_thread,
# Before MariaDB 10.10
'INSERT BUFFER AND ADAPTIVE HASH INDEX'
=> \&parse_insert_buffer_and_adaptive_hash_index,
# For MariaDB 10.10 and later
'INSERT BUFFER' => \&parse_insert_buffer_and_adaptive_hash_index,
);

skip_heading();
Expand Down

0 comments on commit fb72f44

Please sign in to comment.