mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-19 02:05:23 +00:00
PT-1573 Fixed General log parser regex
The regexp to process log entries was not considering timestamps in +n, it was only considering timestamps in -n hours
This commit is contained in:
8
t/lib/samples/genlogs/pt-1573-general-log-system.log
Normal file
8
t/lib/samples/genlogs/pt-1573-general-log-system.log
Normal file
@@ -0,0 +1,8 @@
|
||||
/usr/local/mysql-5.7.21/bin/mysqld, Version: 5.7.21-log (MySQL Community Server (GPL)). started with:
|
||||
Tcp port: 5721 Unix socket: /tmp/mysql5721.sock
|
||||
Time Id Command Argument
|
||||
2018-09-07T18:45:40.098124+08:00 257426 Connect mysqlha_common@127.0.0.1 on using TCP/IP
|
||||
2018-09-07T18:45:40.098511+08:00 257426 Query set autocommit=0
|
||||
2018-09-07T18:45:40.098613+08:00 257426 Query set autocommit=1
|
||||
2018-09-07T18:45:40.098769+08:00 257426 Query show global status like 'Threads_connected'
|
||||
2018-09-07T18:45:40.101009+08:00 257426 Quit
|
Reference in New Issue
Block a user