Commit Graph

629 Commits

Author SHA1 Message Date
Daniel Nichter
ef4a56a8fe Test and fix OptionParser so string opts don't consume the next opt if not string value is given. 2013-08-07 19:02:11 -07:00
Daniel Nichter
9059853136 Handle IF [NOT] EXITS for ddl statements in distill. 2013-08-03 14:01:25 -07:00
Daniel Nichter
484274d8ba Fix get_tables() for LOAD DATA. 2013-08-03 12:11:56 -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
e66415764d Strip backticks from LOAD DATA table name. 2013-08-03 11:44:41 -07:00
Daniel Nichter
cce1420736 Failing test cases for bug 821692 and bug 984053. 2013-08-03 10:50:17 -07:00
Daniel Nichter
51e476c6a2 Fix bug: a typo in NibbleIterator::_find_best_index(). 2013-07-10 10:23:28 -07:00
Daniel Nichter
89524dbefa Failing test case. 2013-07-10 10:16:07 -07:00
Daniel Nichter
dfcfdd292a Test case and fix: remove multi-line comments before -- one line comments. 2013-06-27 11:53:06 -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
bcc6da2919 Failing test for --set-vars var=0. 2013-06-25 15:28:48 -07:00
Daniel Nichter
0736427bbf Megre pt-agent branch. 2013-06-16 23:23:11 -07:00
Daniel Nichter
84c8906de4 Create lib/Safeguards.pm to implement new --disk-bytes-free and --disk-pct-free in pt-agent. 2013-05-15 13:27:44 -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
Daniel Nichter
7cee5a480e Add ts to Service resource. Rewrite how pt-agent handles applying services: use new meta attrib to find real service, then look for start-service and stop-service; schedule anything with a run_schedule or spool_schedule. Remove Percona/WebAPI/Util. 2013-04-18 16:47:15 -06:00
Brian Fraser
c167e590d4 Merged fix-1156901-skip-retry-check-for-repl-threads 2013-04-16 17:49:25 -03:00
Brian Fraser
ae8487311c Merged fix-1160918-restore-show-all 2013-04-16 17:48:05 -03:00
Brian Fraser
ce3e868fa6 Fix for 1160338: pt-query-digest 2.2 prints unwanted debug info on tcpdump parsing errors 2013-04-16 12:20:34 -03:00
Brian Fraser
d8a3d217ef Minor tweaks to the tests 2013-04-16 11:46:14 -03:00
Brian Fraser
c80c5c38a8 Processlist.pm: Skip checking for a restarted query if looking at a replication thread 2013-04-16 11:37:32 -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
afa6533f43 Fix and test resource_diff(). 2013-03-27 11:12:38 -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
d3612481c2 Merged remove-ptqa 2013-03-13 16:55:22 -03:00
Brian Fraser
ea90c02b72 Fixed assorted test failures 2013-03-13 16:49:44 -03:00
Daniel Nichter
5ddfb95ca7 Fix lib/Cxn.pm that didn't merge correctly. Fix t/lib/OptionParser.t test failure. Update Cxn, OptionParser, and DSNParser in all tools. 2013-03-13 12:38:45 -06:00
Brian Fraser
8dba4e5ef8 Removed t/lib/QueryAdvisorRules.t 2013-03-13 12:30:44 -03:00
Brian Fraser
901a964713 Fix t/lib/Advisor.t 2013-03-13 12:21:14 -03: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
3c07da8499 Test and fix all the log --types. Add backwards-compat null_event arg to MySQLProtocolParser. 2013-03-11 16:13:38 -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
Daniel Nichter
e3346332e1 Merge pt-ms-pt-stalk-standard-mysql-options. 2013-03-09 11:57:41 -07:00
Daniel Nichter
828ff38078 Merge clean-up-pqd-2.2. 2013-03-09 10:24:56 -07:00
Brian Fraser
a3dd5d7ba6 Split the QueryHistory tests out of QueryReview.t 2013-03-07 11:29:30 -03:00
Brian Fraser
fb405b17f6 Removed test for hosts's default 2013-03-06 17:05:11 -03:00
Daniel Nichter
f7f63555ee Add lib/bash/subshell.sh and use in pt-stalk to fix/improve subprocess waiting. 2013-03-04 17:47:02 -07:00
Daniel Nichter
f4a8c4a65d Make t/lib/KeySize.t flexible because EXPLAIN plans differ slightly. 2013-03-03 08:31:17 -07:00
Daniel Nichter
1642acd235 Fix error in t/lib/DSNParser.t. 2013-03-03 08:26:23 -07:00
Daniel Nichter
882defb1cc Fix t/lib/Percona/XtraDB/Cluster-no-PXC.t. 2013-03-02 13:19:42 -07:00
Daniel Nichter
1b95fee620 Pass file to OptionParser->new() in tests so OptionParser::get_vars() works. 2013-03-02 13:10:28 -07:00
Daniel Nichter
f7e07493f6 Don't set innodb_lock_wait_timeout in tests because it generates a warning on 5.0 and 5.1 that the tests don't suppress. 2013-03-02 13:05:26 -07:00
Daniel Nichter
9e9024d508 Fix more tests for set-vars. 2013-03-02 12:17:12 -07:00
Daniel Nichter
f0b7712528 Fix tests to work with new --set-vars, and change --lock-wait-timeout to --set-vars innodb_lock_wait_timeout in tests. 2013-03-02 10:17:23 -07:00
Brian Fraser
734deef881 Split --review and --history 2013-03-01 16:35:43 -03:00