Commit Graph

1321 Commits

Author SHA1 Message Date
Daniel Nichter
b5a135d6e5 Failing pqd test case. 2013-08-03 11:29:16 -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
b14a478f3c Test --output json-anon. 2013-07-01 13:59:12 -07:00
Daniel Nichter
f4f381ab7f Move/rename JSON output samples. 2013-07-01 13:42:56 -07:00
Daniel Nichter
16e57a8fea Add --output json-anon that excludes query examples. 2013-07-01 13:38:34 -07:00
Daniel Nichter
f9d71f3610 Add failing test case. 2013-06-27 14:41:49 -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
fe40d88b0f Improve the test for bug 1176010. 2013-06-26 16:16:15 -07:00
Daniel Nichter
9b38740a54 Merge fix-1176010-pqd-grouping-quoted-vals. 2013-06-26 16:10:41 -07:00
Daniel Nichter
7ca202ee0a Test and handle timestamp lines like: 130624 17:39:24TOO DEEP OR LONG SEARCH IN THE LOCK TABLE WAITS-FOR GRAPH, WE WILL ROLL BACK FOLLOWING TRANSACTION 2013-06-26 15:23:44 -07:00
Daniel Nichter
8584f3b734 Fix call to undefined get() by removing it and simplifying the warning message. 2013-06-26 13:28:27 -07:00
Daniel Nichter
def86634f8 Add failing test case. 2013-06-26 13:17:01 -07:00
Daniel Nichter
362d80f7e8 Fix NULL vs. NULL comparison. 2013-06-26 12:26:34 -07:00
Daniel Nichter
cefc0d3065 Add failing unit test. 2013-06-26 12:09:43 -07:00
Daniel Nichter
61a0770972 Add failing test. 2013-06-26 12:07:06 -07:00
Daniel Nichter
1346757702 Test that the new table's charset can be changed. 2013-06-26 10:47:19 -07:00
Daniel Nichter
57f35b22b3 Test that new table inherits the old table's charset. Clean up bugs.t. 2013-06-26 10:14:46 -07:00
Daniel Nichter
70f5c17bc4 Fix ptc by making ts column explicitly NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP. 2013-06-25 18:30:12 -07:00
Daniel Nichter
302a9a21a1 Add failing test in settings.t. Add EXTRA_DEFAULTS_FILE to start-sandbox so a sandbox can be started with any additional settings, like explicit_defaults_for_timestamp. 2013-06-25 18:18:29 -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
00a2fc3e23 Add timestamp to lines indicating actions that might take awhile, e.g. "Dropping triggers...". 2013-06-25 12:52:03 -07:00
Daniel Nichter
35f83428b1 Update pqd test samples. 2013-06-16 23:40:08 -07:00
Daniel Nichter
0736427bbf Megre pt-agent branch. 2013-06-16 23:23:11 -07:00
Daniel Nichter
321eee1f67 Finish updating/fixing tests. 2013-06-16 21:01:30 -07:00
Daniel Nichter
09eb28cca8 Update send_data.t samples. 2013-06-16 20:18:33 -07:00
Daniel Nichter
d14951ae5f Make entry_links an arg to send_data() and run_services. Start updating/fixing tests. Add lib/Percona/Test/Mock/AgentLogger.pm. 2013-06-16 17:28:18 -07:00
Daniel Nichter
490d95dee7 Simplify and maybe fix crash in replace_special_vars(). 2013-06-14 21:22:55 -07:00
Daniel Nichter
df0eb984d7 Don't drop new table if there are any @triggers_not_dropped. 2013-06-07 13:51:29 -07:00
Daniel Nichter
c99cb3ba58 Add copy_paste attrib to each query's hash in the JSON output with SHOW TABLE STATUS, SHOW CREATE TABLE, and non-SELECT converted to SELECT for EXPLAIN. Fix typo: EA type is 'string' not 'str'. Add host, port, and ip type hints to pqd. 2013-05-20 16:44:44 -07:00
Daniel Nichter
41a4634edb Update JSONReportFormatter: report all str attribs; don't print "# No events processed" since that's not valid JSON; rename output.t to json.t. 2013-05-20 14:47:01 -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
Daniel Nichter
e8eca8dde1 Merge lp:~percona-toolkit-dev/percona-toolkit/pqd-enhanced-resume-file r582. 2013-05-07 20:19:37 -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
fc420ea88e Remove code to handle metadata; instead, let tasks handle metadata and simply concat and send any service.meta.* files/values. Prefix run files with a ts to allow for concurrent runs of the same service. 2013-05-01 20:19:42 -07:00
Brian Fraser
e3dae6cc50 bulk_insert.t: Stop using Encode::_utf8_on(), use utf8::decode() instead 2013-04-19 20:45:19 -03:00
Brian Fraser
22fab42e01 Fix for 1127450 in DBD::mysql 3.0007 2013-04-19 19:13:55 -03:00
Daniel Nichter
89db22894e Test get_services(). Need to fix/update other tests. 2013-04-19 14:49:01 -06:00
Daniel Nichter
c7c79945f9 Change start_services() to run_services() and make it do triple duty: start, restart, and stop. When a real service is removed, call its stop- meta-service before write_services(). Add run_services_once() for services with the run_once flag. 2013-04-18 18:41:05 -06: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
53dc083e82 Merged fix-1156867-pt-stalk-show-function-name 2013-04-17 15:12:22 -03:00
Brian Fraser
aa263dcc5b Merged fix-1127450-pt-archiver-bulk-insert-encoding 2013-04-16 17:51:00 -03: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
ecbe7311b3 Merged fix-1160338-pqd-tcp-errors 2013-04-16 17:41:38 -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