Commit Graph

1336 Commits

Author SHA1 Message Date
Daniel Nichter
02b5042b9b Fix VariableAdvisorRules: test didn't pass mysql_version and rule didn't check if it's defined. 2013-08-08 08:35:19 -07:00
Daniel Nichter
dc2ac4a9f1 Failing test case: t/pt-archiver/bugs.t. 2013-08-07 19:18:51 -07:00
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
952ebc574c Fix 'unexpectedly succeeded' in t/pt-query-digest/processlist.t. 2013-08-03 14:06:08 -07:00
Daniel Nichter
9059853136 Handle IF [NOT] EXITS for ddl statements in distill. 2013-08-03 14:01:25 -07:00
Daniel Nichter
7c3cd71cb3 Update/fix binlog_analyses.t for real. 2013-08-03 12:45:05 -07:00
Daniel Nichter
50ac38ad58 Update t/pt-query-digest/binlog_analyses.t now that INSERT without INTO parses correctly. 2013-08-03 12:39:18 -07:00
Daniel Nichter
ba2545d4c6 Fix empty json report test. 2013-08-03 12:36:26 -07:00
Daniel Nichter
f9b005b083 Use new Daemon API. 2013-08-03 12:29:08 -07:00
Daniel Nichter
e192a90b77 Fix test for empty log when output is not json. 2013-08-03 12:18:04 -07:00
Daniel Nichter
6bea58572d Total fix for LOAD DATA distill in pqd. 2013-08-03 12:17:05 -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
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