Commit Graph

150 Commits

Author SHA1 Message Date
Carlos Salguero
e46b411054 PT-162 Updated tests for PR #191 2017-06-19 11:49:58 -03:00
Carlos Salguero
f6d2e89027 Fixed all tests for MySQL 5.7
Most of the failing tests were failing due to changes in MySQL 5.7
default sql_mode and because of invalid timestamps ('0000-00-00')
2017-05-03 15:48:11 -03:00
Carlos Salguero
fcd1cb173f More 5.7 tests fixed 2017-04-27 16:44:46 -03:00
Carlos Salguero
0c5e273bb2 Fixes for schemaiterator.t 2017-01-24 10:41:49 -03:00
Carlos Salguero
90fa067834 Fixed json format test 2017-01-23 17:08:30 -03:00
Carlos Salguero
410e75a623 Updated tests for schema iterator 2017-01-16 23:42:11 -03:00
Carlos Salguero
a96356c879 Fixed MySQLProtocol parser (v4.1 enhacements) 2016-12-16 22:38:15 -03:00
Carlos Salguero
ca1f592652 Added schemas/tables to the default ignore list 2016-11-18 13:17:03 -03:00
Carlos Salguero
9eb95cb4da Tests added for SlowLogParser
SlowLogParser now is able to handle MySQL dates in RFC3339 format.
A new test for this case was added and all scripts using SlowLogParser
in bin/ have been updated.
2016-07-20 15:53:59 -03:00
Frank Cizmich
5cc70d2b36 Merge pull request #95 from percona/bug-1402776
Bug-1402776
2016-06-13 16:15:57 -03:00
Carlos Salguero
78aa8c436e bug-1402776 Added test 2016-06-09 15:05:26 -03:00
Carlos Salguero
3313913fa7 BUG-1585412 Fixed Date parsing regex for MySQL 5.7
MySQL 5.7 general log dates are in RFC3339 format:
2006-01-02T15:04:05Z07:00
The previous version of the log parser was not able to parse
this format.
2016-06-08 17:11:36 -03:00
Daniel Nichter
32dba7e7f2 Test and fix parsing literal backticks in TableParser:parse() (lp 1462904). 2015-06-25 13:20:00 -07:00
Frank Cizmich
5edb7366f3 Improved test. Changed test file location. Added doc example. 2014-11-05 12:41:15 -02:00
Frank Cizmich
abe635b6b0 Simplified code. Verified SlowLogParser module is correctly in sync with tools. Renamed test slow log files. 2014-07-30 17:25:29 -03:00
Frank Cizmich
af185fbc28 5.6 slow query log Thead_id becomes Id - 1299387 2014-07-15 15:12:45 -03:00
Frank Cizmich
0691ec7e16 fixes pt-query-digest not being hable to handle 5.6 binlog files - issue 1335960 2014-07-02 17:55:31 -03:00
Daniel Nichter
e83e1c09c4 Fix bug 1217013: exact dupe unique keys not detected. 2013-12-11 19:31:19 -08:00
Daniel Nichter
36cb76d3e9 Add test placeholder for bug 1214114. 2013-12-11 18:40:08 -08:00
Daniel Nichter
c726b8e624 Merge fix-pt-stalk-nfs-bug-1071979. 2013-12-10 20:50:17 -08:00
Daniel Nichter
c178934ab1 Combine '# Log_slow_rate_type: query Log_slow_rate_limit: 2' as 'query:2' and report as 'rate_limit' metric. 2013-11-27 18:25:55 -08:00
Daniel Nichter
28ec5b12bf Failing test. 2013-10-31 10:59:25 -07:00
Daniel Nichter
57c234c89d Add Query_time to pqd JSON class example. 2013-10-09 17:54:25 -07:00
Daniel Nichter
c3ff530037 Add Query_time histogram to json output. 2013-08-16 18:21:57 -07:00
Daniel Nichter
8732b27e4e Make t/lib/samples/slowlogs/slow051.txt syntactically correct. 2013-08-03 11:55:27 -07:00
Daniel Nichter
1ed23c7845 Update modules in pt-query-digest to fix bug 821692 and bug 984053. Replace HTTPMicro with HTTP::Micro. 2013-08-03 11:50:15 -07:00
Daniel Nichter
89524dbefa Failing test case. 2013-07-10 10:16:07 -07:00
Daniel Nichter
9b38740a54 Merge fix-1176010-pqd-grouping-quoted-vals. 2013-06-26 16:10:41 -07:00
Daniel Nichter
bddc889f97 Add failing test and samples for deep recursion. 2013-06-25 16:15:50 -07:00
Daniel Nichter
0736427bbf Megre pt-agent branch. 2013-06-16 23:23:11 -07:00
Brian Fraser
5cce618f86 Fix for 1176010: pt-query-digest should know how to group quoted and unquoted database names 2013-05-03 10:19:42 -03:00
Brian Fraser
1dcc6904f3 pqd: Restore the --show-all option 2013-04-08 09:53:52 -03:00
Daniel Nichter
3d5325ae03 Rewrite Daemon.pm: don't require an OptionParser, one public func, run(), that does the whole daemonize process or just check the PID file. 2013-04-05 12:16:16 -06:00
Daniel Nichter
9286765076 Merge 2.2.1 to get pqd without --output json. 2013-03-19 11:36:21 -06:00
Daniel Nichter
84ab975438 Fix query time diff formatting in pt-upgrade. 2013-03-14 09:20:54 -06:00
Brian Fraser
55bb01bb6e Removed pt-query-advisor 2013-03-13 11:50:08 -03:00
Daniel Nichter
b2809f2a0c Fix and test UpgradeResults::format_query_times001(). 2013-03-11 18:51:43 -06:00
Daniel Nichter
f00d53adc3 Fix and test read-only handling in QueryIterator. 2013-03-11 14:28:39 -06:00
Daniel Nichter
270962ad54 Merge 2.2 r551. 2013-03-11 10:51:30 -06:00
Brian Fraser
1d9b013bab pqd: Removed show-all, shorten, select & print-iterations 2013-02-25 13:10:03 -03:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03:00
Daniel Nichter
c1fe363631 Merge latest 2.2 with Lmo. 2013-02-11 18:57:07 -07:00
Daniel Nichter
0c229fce51 Start rewritting pt-upgrade 2.2. 2013-02-09 13:43:14 -07:00
Daniel Nichter
c9aa9e8cbd Merge 2.1.9 fixes for pt-pmp. 2013-02-05 09:51:24 -07:00
Brian Fraser
efc89a6725 Merged simplify-pqd 2013-01-31 14:52:34 -03:00
Daniel Nichter
9e7248861d Catch and report aborted connects. 2013-01-28 14:12:48 -07:00
Daniel Nichter
15b1c43874 Fix and test parser_error_packet() for non-SQL errors. 2013-01-25 11:24:35 -07:00
Daniel Nichter
57722889cb Add slow057.txt which has many distinct Time values. 2013-01-19 11:15:25 -07:00
Daniel Nichter
fcb5a0c0f8 Merge lp:~percona-toolkit-dev/percona-toolkit/simplify-pqd r541. 2013-01-18 16:21:10 -07:00
Brian Fraser fraserb@gmail.com
5e5763f82a Partially Moified QueryReportFormatter, split event_report and query_report into two different subs; one that gets the values to print, and one that formats things 2013-01-14 12:52:23 -03:00