Commit Graph

1960 Commits

Author SHA1 Message Date
Manjot Singh
a564cc7bc8 Added changes suggested by mbenshoof, michaeldg
- Fixed issue with dry run and preserve triggers
- Fixed issue with trim multiline
- Changed DSNParser in lib
2016-06-28 12:33:44 -07:00
Evgeniy Patlan
a8d045beb6 Build percona-toolkit-2.2.18 2016-06-24 11:04:56 +03:00
Carlos Salguero
01daf0030e bug-1593265 Fixed pt-archiver deletes wrong rows
In the case we are trying to migrate a table with no PK nor an unique
key, pt-archiver was failing to select the correct rows for deletion.
This fix implemented here is to add ALL columns in the WHERE clause of
the DELETE command. This way, we are deleting only the exact same row we
just migrated but using columns instead of an index.
2016-06-22 13:17:57 -03:00
root
1f9974eae1 add enum column type to is_char check so that values are properly quoted 2016-06-21 20:30:37 -07:00
Jervin R
3818331685 Run BLOB/TEXT/BINARY columns against CRC32 during row checksum to prevent CONCAT_WS overflow and null _crc_col 2016-06-17 06:43:48 +08:00
Jervin R
336d9605c7 Run BLOB/TEXT/BINARY columns against CRC32 during row checksum to prevent CONCAT_WS overflow and null _crc_col 2016-06-17 06:41:11 +08:00
Frank Cizmich
bf69518067 Merge pull request #100 from percona/pt-query-digest-32bit-variable-limit-too-low-lp1547225
pt-query-digest changed default attribute-value-limit to disabled
2016-06-15 14:19:44 -03:00
frank-cizmich
500c3ed199 pt-query-digest changed default attribute-value-limit to disabled 2016-06-14 14:31:37 -03:00
Carlos Salguero
1accb78055 Fixed error introduced in MySQLProtocolParser
When originally moved the fix out of the pt-query-digest into
MySQLProtocolParser I made a mistake and I've introduced an error.
Fixed.
2016-06-13 17:29:24 -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
70dc26a7b7 bug-1402776 Updated all modules using MySQLProtocolParser 2016-06-13 16:03:35 -03:00
Carlos Salguero
2f25c6255e bug-1585412 All libs updated to the latest GeneralLogParser 2016-06-13 15:15:32 -03:00
Frank Cizmich
a09003fabd Merge pull request #93 from percona/bug-1585412
BUG-1585412 Fixed Date parsing regex for MySQL 5.7
2016-06-13 14:19:17 -03:00
frank-cizmich
c3f4705b67 pt-stalk sort transactions - lp1537416 2016-06-09 14:31:19 -03:00
Carlos Salguero
3b72a02761 bug-1402776 WIP. Still need to write a test 2016-06-08 22:43:42 -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
Manjot Singh
5642cc4fd0 Bug fixes for pt-osc --preserve-triggers after sysbench tests 2016-05-27 21:00:14 -07:00
Manjot Singh
b4568ee255 Fixed small issue with old trigger run when no old triggers
line 9554
2016-05-27 08:55:37 -07:00
Manjot Singh
20641dab2b Working version with --preserve-triggers 2016-05-26 23:36:17 -07:00
Manjot Singh
5cb5f03417 pt-osc mostly working now.
Need to change original trigger logic to add to the new table before replacement.
2016-05-26 17:06:12 -07:00
Manjot Singh
99b8e76143 Completed logic for pt-osc preserve triggers
Issue with some sql, currently working on.
2016-05-26 15:57:52 -07:00
Manjot Singh
19306adcd5 Have pt-osc changes working for creating delete trigger 2016-05-25 20:45:13 -07:00
Manjot Singh
67018f88f9 fixed broken debug pt-osc 2016-05-25 08:51:03 -07:00
Manjot Singh
e845898189 Begin adding --preserve-triggers to pt-osc 2016-05-25 08:45:56 -07:00
Nickolay Ihalainen
2f8182045b fix lp:1581752 5.7 compatibility for pt-query-digest, slow log time format 2016-05-14 11:52:18 +03:00
frank-cizmich
a4b9b941d6 Merge branch 'pt-tcs-where-option-using-non-optimal-index-lp1576036' of github.com:percona/percona-toolkit into pt-tcs-where-option-using-non-optimal-index-lp1576036 2016-05-11 18:13:35 -03:00
frank-cizmich
47cc4225d8 corrected index choosing bug in NibbleHandler 2016-05-11 17:54:46 -03:00
frank-cizmich
162d4dcd28 corrected index choosing bug in NibbleHandler 2016-04-29 07:23:42 -03:00
frank-cizmich
99d64a95f7 calrified pt-slave-restart --verbose doc 2016-04-26 20:29:18 -03:00
frank-cizmich
71fae6d117 pt-summary added shared memory info - modified tests accordingly 2016-04-18 17:11:52 -03:00
frank-cizmich
f8cdf05988 --version returned exit status 1 2016-04-18 12:29:43 -03:00
frank-cizmich
d11b135050 pt-osc improved plugin docs 2016-03-31 14:55:25 -03:00
Frank Cizmich
e99bf0978e Merge pull request #61 from percona/pt-query-digest-no-vertical-format-PT-24
pt-query-digest - allow no-vertical-format option for mysql clients that don't support it
2016-03-16 17:39:30 -03:00
frank-cizmich
a1f24e7e2f version module in pt-table-usage that doesnt work on some centos 2016-03-06 12:48:11 -03:00
Tomislav Plavcic
6a07d53f97 Build percona-toolkit-2.2.17 2016-03-04 13:21:43 +01:00
frank-cizmich
a26076bf4c minor attribute parsing glitch 2016-03-02 23:14:24 -03:00
frank-cizmich
9c130d612f changed reported version of tools to 2.2.17 2016-03-02 20:47:04 -03:00
frank-cizmich
ba60919cc4 updated tool version var to 2.2.17 2016-03-02 20:41:45 -03:00
frank-cizmich
d292a7ac0c pt-table-sync document rbr limitation 2016-03-02 15:46:17 -03:00
frank-cizmich
8baa9743c2 pt-t-c add --slave-skip-tolerance option 2016-03-02 14:30:35 -03:00
frank-cizmich
3f90f9ea82 pt-osc generate random table prefix after 10th try 2016-02-26 21:03:18 -03:00
Frank Cizmich
805577fcc3 Merge pull request #78 from percona/pt-show-grants-compat-lp1435370
add 5.7 compatibility for pt-show-grants
2016-02-24 17:22:40 -03:00
frank-cizmich
7b6eee3509 made compare_versions func into its own module. made tests 2016-02-24 17:17:40 -03:00
frank-cizmich
d09cf78297 pt-qd clarify attribute-value-limit in docs 2016-02-22 18:42:50 -03:00
frank-cizmich
219b70b366 add 5.7 compatibility for pt-show-grants 2016-02-18 17:50:11 -03:00
frank-cizmich
a4bef9dd78 fix tests of duplicate key module and tool for consistency 2016-02-14 22:26:25 -03:00
frank-cizmich
377b50144b new var binlog_error_action caused bug in collect module 2016-02-11 17:44:20 -03:00
frank-cizmich
a9e7a61f04 more format printf and GetOpt::Long fixes 2016-02-09 16:21:38 -03:00
frank-cizmich
56b44a7522 sprintf rudundancy warnings 2016-02-05 13:35:44 -03:00
frank-cizmich
7c0054fa5d DSNParser clobbered sql_mode variable set by user - lp1506748 2016-02-01 22:51:55 -03:00