35 Commits

Author SHA1 Message Date
Sveta Smirnova
4154acadc1 PT-2467 - t/pt-show-grants/basics.t t/pt-table-checksum/basics.t t/pt-table-sync/filters.t t/pt-upgrade/diff_rows.t fail with the latest PT
- Updated tests and results failed due to new percona.telemetry user
2025-08-22 18:38:07 +03:00
Sveta Smirnova
5100e9b1aa PT-191 - add ssl options to DSN
- Updated ssl tests, so they test option --mysql_ssl and DSN
2025-07-30 17:18:38 +03:00
Sveta Smirnova
b7094dfd09 PT-191 - add ssl options to DSN
- Added test cases to ensure SSL is working in all tools
2025-07-26 14:18:30 +03:00
Sveta Smirnova
f57d63ab00 PT-2340 - Support MySQL 8.4
- Added sleep to t/lib/MasterSlave.t, so it does not fail on fast machines
- Disabled SSL tests on versions earlier than 8.0
2024-11-14 22:48:06 +03:00
Sveta Smirnova
5d55904436 PT-2340 - Support MySQL 8.4
- Tests for the minimal SSL support
- Updated util/update-modules, so they don't skip tools with modules, not defined in lib
2024-09-18 15:28:45 +03:00
Sveta Smirnova
e3e352d1d6 PT-2340 - Support MySQL 8.4
- Fixed comparison operators for VersionCheck calls
2024-08-27 13:45:37 +03:00
Sveta Smirnova
d02355f89b PT-2340 - Support MySQL 8.4
- Updated modules and tests for pt-query-digest, pt-show-grants, pt-slave-delay, pt-slave-find, pt-slave-restart, pt-stalk, pt-summary, pt-table-checksum
2024-08-03 14:24:10 +03:00
Sveta Smirnova
f3f4943d52 PT-2247 - pt-show-grants does not CREATE USER
- Removed option print_identified_with_as_hex, because it was already
  implemented in the PT-2190 fix
- Simplified patch
- Kept CREATE USER/ALTER USER sequence and extra DELETE from mysql.user
  table
- Added test case
2024-05-17 02:34:53 +03:00
Sveta Smirnova
75d534954a PT-2190 - pt-show-grants should use print_identified_with_as_hex
- Implemented the fix
- Added test case
2024-04-26 02:22:24 +03:00
Sveta Smirnova
cd6eef7c28 PT-2152 - Fix tests for pt-show-grants (#598)
Updated results for version 8.0
2023-02-14 18:28:07 +03:00
Sveta Smirnova
2f584c85db PT-2140 - Update modules in the main branch (#570)
* PT-2140 - Update modules in the main branch

Updated modules for:
- pt-align
- pt-archiver
- pt-config-diff
- pt-deadlock-logger
- pt-diskstats
- pt-duplicate-key-checker
- pt-fifo-split
- pt-find
- pt-fingerprint
- pt-fk-error-logger
- pt-heartbeat
- pt-index-usage
- pt-ioprofile
- pt-kill
- pt-mext
- pt-mysql-summary
- pt-online-schema-change
- pt-pmp
- pt-query-digest
- pt-show-grants
- pt-sift
- pt-slave-delay
- pt-slave-find
- pt-slave-restart
- pt-summary
- pt-table-sync
- pt-upgrade
- pt-variable-advisor

Added execute bit for pt-query-digest

* PT-2140 Update modules in the main branch

Fixed Daemon.pm plugin usage
Updated all tests, related to the Daemon plugin.
I intentionally did not fix failing tests, not related to Daemon plugin,
to avoid making this PR too big.

- bin/pt-archiver
	- PT-2141 - Fixed usage of Daemon.pm
	- PT-2141 - Updated t/pt-archiver/standard_options.t
- bin/pt-deadlock-logger
	- PT-2143 - Fixed usage of Daemon.pm
	- PT-2143 - Updated t/pt-deadlock-logger/standard_options.t
- bin/pt-fifo-split
	- PT-2144 - Fixed usage of Daemon.pm
	- PT-2144 - Updated t/pt-fifo-split/pt-fifo-split.t
- bin/pt-find
	- PT-2145 - Fixed usage of Daemon.pm
	- PT-2145 - Updated t/pt-find/pt-find.t
- bin/pt-fk-error-logger
	- PT-2146 - Fixed usage of Daemon.pm
	- PT-2146 - Updated t/pt-fk-error-logger/basics.t
- bin/pt-heartbeat
	- PT-2147 - Fixed usage of Daemon.pm
	- PT-2147 - Updated t/pt-heartbeat/standard_options.t, t/pt-heartbeat/basics.t
- bin/pt-kill
	- PT-2148 - Fixed usage of Daemon.pm
	- PT-2148 - Updated t/pt-kill/standard_options.t
- bin/pt-show-grants
	- PT-2152 - Fixed usage of Daemon.pm
	- PT-2152 - Updated t/pt-show-grants/standard_options.t
- bin/pt-slave-delay
	- Fixed usage of Daemon.pm
	- Updated t/pt-slave-delay/standard_options.t
- bin/pt-slave-find
	- PT-2153 - Fixed usage of Daemon.pm
	- PT-2153 -Updated t/pt-slave-find/pt-slave-find.t
- bin/pt-slave-restart
	- Fixed usage of Daemon.pm
	- Updated t/pt-slave-restart/pt-slave-restart.t
- bin/pt-table-sync
	- PT-2154 - Fixed usage of Daemon.pm
	- PT-2154 -Updated t/pt-table-sync/standard_options.t
2023-01-06 15:04:10 +03:00
Carlos Salguero
b801dfa156 PT-1554 Fixed 2 tests for MySQL 5.7 2018-05-30 09:09:42 -03:00
Carlos Salguero
7666af3fbb PT-1563 Fixed pt-show-grants for MySQL 5.6
Also updated tests for MySQL 8.0+
2018-05-28 15:29:18 -03:00
Carlos Salguero
063ccb3c6f Revert "Merge pull request #320 from percona/PT-1488_mysql_8_support_pt-show-grants"
This reverts commit b90043ff0b, reversing
changes made to d8a2466666.
2018-04-19 14:59:36 -03:00
Carlos Salguero
cc99db8ddd PT-1448 Updated test for pt-show-grant MySQL 8 support 2018-03-30 20:08:04 -03:00
Carlos Salguero
cec7e7d052 PT-1488 Added a test 2018-03-30 19:31:32 -03:00
Carlos Salguero
c6a8f843a7 PT-1488 Added MySQL 8 roles support to pt-show-grants 2018-03-30 16:35:08 -03:00
Carlos Salguero
d9ae64e443 Updated tests for t/pt-show-grants/issue_445.t 2018-01-22 17:43:44 -03:00
Carlos Salguero
a828b7af54 Fixed some tests for pt-show-grants 2018-01-18 16:56:30 -03:00
Carlos Salguero
fcd1cb173f More 5.7 tests fixed 2017-04-27 16:44:46 -03:00
Carlos Salguero
97e5cc2bf8 Merge pull request #59 from percona/pt-show-grants-sort-column-privileges-lp1523730
pt-show-grants - order output of column privileges - lp1523730
2016-11-16 17:45:08 -03:00
frank-cizmich
219b70b366 add 5.7 compatibility for pt-show-grants 2016-02-18 17:50:11 -03:00
frank-cizmich
96aff694b1 fixed 5.7 tests for pt-query-digest and pt-show-grants and tweaked SqlMode for global 2016-01-12 18:18:59 -03:00
frank-cizmich
e784d226e6 pt-show-grants - order output of column privileges - lp1523730 2015-12-12 22:52:16 -03:00
Brian Fraser
a5a23665fe Simplified split_grants() and added a test for mixed table & column grants on the same table 2012-11-01 06:15:54 -03:00
Daniel Nichter
0fd9239500 Implement split_grants() instead of split(',', $grants) to handle spliting grants with column-level privs. 2012-10-31 14:20:43 -06:00
Daniel Nichter
0453d7dd82 Failing test case. 2012-10-31 13:16:25 -06:00
Daniel Nichter
a64bf961e8 Fix test counts. 2012-06-03 15:14:30 -04:00
Daniel Nichter
a2810a0ec1 Remove duplicate calls to Sandbox::ok(). 2012-06-03 14:38:21 -04:00
Daniel Nichter
bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04:00
Daniel Nichter
7e880b0808 Call Sandbox::box() in all tests that use Sandbox. 2012-06-03 12:59:56 -04:00
Daniel Nichter
a85dffd511 Test for bug 821709. 2012-01-09 11:10:35 -07:00
Daniel Nichter
eb01431399 Change MaatkitTest to PerconaTest in all tool tests. Add stub tests for pt-align and pt-collect. 2011-07-12 16:56:55 -06:00
Daniel Nichter
8e11cd85b3 Change mk_tool::main() to pt_tool::main() in all tests. 2011-06-29 11:56:49 -06:00
Daniel Nichter
b4b6376be1 Add forked Maatkit tools in bin/ and their tests in t/. 2011-06-24 16:02:05 -06:00