Commit Graph

163 Commits

Author SHA1 Message Date
Carlos Salguero
a48a767eb4 PT-243 added --max-hostname-length & max-line-length to pt-query-digest 2018-03-27 14:23:59 -03:00
Carlos Salguero
8943e0a9f6 Merge branch '3.0' into mysql-8 2018-02-19 12:11:07 -03:00
Carlos Salguero
75ab0ba653 PT-1256 pt-table-sync does not use the character set for the table it is synchronizing 2018-02-09 16:46:16 -03:00
Carlos Salguero
51dcca5959 PT-572 Fixes for MySQL 8
- Updated sandbox data file
- Fixes for pt-upgrade since there is no query_cache in MySQL 8
- Updates for SchemaIterator since there are new/renamed tables in MySQL 8
- Disabled some tests due to errors in MySQL 8.0.4-rc
2018-02-01 11:30:12 -03:00
Carlos Salguero
d38a584271 Fixes for DSN parser to use UTF8 2018-01-28 14:46:51 -03:00
Carlos Salguero
f3132d3cee WIP 2018-01-25 00:01:56 -03:00
Carlos Salguero
1d1c13fbcb WIP 2018-01-16 11:11:16 -03:00
Carlos Salguero
4b563ef714 WIP 2018-01-09 16:19:05 -03:00
Carlos Salguero
bb3334de08 Updated tests for MySQL 5.7 2017-12-16 20:54:03 -03:00
Carlos Salguero
b51d09d811 PT-202 pt-online-schema-change fails with virtual columns
Modified TableParser to ignore GENERATED columns from the columns list
used to construct SELECTs/INSERTs
2017-10-05 15:19:57 -03:00
Carlos Salguero
54dfcf36de PT-193 New test and updated libraries
Added a specific test for this issue and updated all binaries to the
latest TableParser version
2017-08-15 12:06:24 -03:00
Carlos Salguero
c375fd068b PT-193 Fixed regex in TableParser
TableParser's parse function was failing while trying to lowercase
column names in the provided 'SHOW CREATE TABLE'.
The problem was it was trying to lowercase everything between backticks
but lines like these:

`field_name` int comment "here is a ` in the comment"
`second_field_name` int

made the original regex to fail, matching `in the coment"` as an
expression to be lowercased while second_file_name was considered as
outside backticks.
2017-08-14 21:01:30 -03:00
Carlos Salguero
0917acb1ff Fixed JSONFormater tests and dev env scripts 2017-07-12 13:01:57 -03:00
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