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:
Carlos Salguero
2018-09-26 09:25:33 -03:00
parent eec92a7387
commit 2b5c8f69ab
5 changed files with 66 additions and 3 deletions

View 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