Sveta Smirnova
0a98a81370
Merge pull request #863 from hpoettker/PT-2378_table_sync_with_more_fp_precision
...
PT-2378 - extended FP precision in pt-table-sync
2025-01-14 18:06:55 +03:00
Sveta Smirnova
f837672d1d
Merge pull request #861 from hpoettker/PT-2377_table_sync_with_utf8_json
...
PT-2377 - fixed pt-table-sync for JSON utf8 strings
2025-01-14 18:04:41 +03:00
Henning Poettker
1e581be06a
PT-2378 - extended FP precision in pt-table-sync
...
pt-table-sync now uses up to 17 decimal digits when writing
floating point numbers in the generated SQL statements.
This is necessary to prevent unintended data changes.
2025-01-13 09:31:51 +01:00
Henning Poettker
16b06dcfc2
PT-2377 - fixed pt-table-sync for JSON utf8 strings
...
The MySQL driver DBD::mysql does not decode JSON values as utf8
although MySQL uses utf8mb4 for all JSON strings.
This change decodes JSON values as utf8 (when not already done)
such that SQL statements are generated correctly.
2024-12-27 13:46:55 +01:00
Henning Poettker
5f14441d19
PT-2375 - fixed pt-table-sync for tables with generated columns
...
Previously, pt-table-sync generated DML statements that included
the generated columns of a table, which is however rejected by
the database and not necessary for the required sync statements.
2024-11-14 23:51:40 +01:00
Sveta Smirnova
a38bee6d60
PT-2340 - Support MySQL 8.4
...
- Updated modules and tests for pt-table-sync, pt-table-usage, pt-upgrade, pt-variable-advisor
2024-08-03 17:12:11 +03:00
Sveta Smirnova
fdc0597e55
PT-2154 - Fix tests for pt-table-sync
...
- Removed diagnostic output from t/pt-table-sync/issue_996.t
- Corrected character set options in t/pt-table-sync/samples/pt-1205.sql
2024-05-16 02:04:40 +03:00
Sveta Smirnova
eac0b21407
PT-2309 - pt-table-sync hits an error when the primary key is uuid binary
...
- Implemented fix for the "Cannot nibble" error
- Added test case
2024-04-16 14:24:04 +03:00
Sveta Smirnova
37ca3d2d49
PT-1205 - LP #1275034 : pt-table-sync reports 'wide character in print' and terminates
...
- Added binmode :utf8 for STDERR
- Added test case for PT-1205
- Run update-modules
2024-03-22 01:42:14 +03:00
Carlos Salguero
c5a22407a7
PT-2016 pt-table-sync and CRC32 columns ( #521 )
...
* PT-2016 CRC32 on key
* PT-2016 Added tests
* Removed commented out line
2021-11-03 13:53:30 -03:00
Carlos Salguero
51dcca5959
PT-572 Fixes for MySQL 8
...
- Updated sandbox data file
- Fixes for pt-upgrade since there is no query_cache in MySQL 8
- Updates for SchemaIterator since there are new/renamed tables in MySQL 8
- Disabled some tests due to errors in MySQL 8.0.4-rc
2018-02-01 11:30:12 -03:00
Carlos Salguero
af69008a10
PT-221 pt-table-sync support for MyRocks
2017-11-30 11:36:43 -03:00
Carlos Salguero
f6d2e89027
Fixed all tests for MySQL 5.7
...
Most of the failing tests were failing due to changes in MySQL 5.7
default sql_mode and because of invalid timestamps ('0000-00-00')
2017-05-03 15:48:11 -03:00
Carlos Salguero
fabcf01e2a
PT-101 WIP
2017-03-15 17:08:31 -03:00
Carlos Salguero
410e75a623
Updated tests for schema iterator
2017-01-16 23:42:11 -03:00
Carlos Salguero
e5cfbab197
Tests for 'quote enum fields'. PR #102
2016-07-12 17:45:07 -03:00
Daniel Nichter
39c020020c
Add and test --[no]check-child-tables.
2013-12-13 19:31:30 -08:00
Daniel Nichter
5e46d013a9
Failing test case for bug 1229861.
2013-10-10 15:44:48 -07:00
Daniel Nichter
91ce8bb3b1
Test syncing the upper oob chunk.
2013-01-23 10:42:19 -07:00
Daniel Nichter
7f7eaa2b10
Fix diff_where() for lower oob chunks. Add PT_TEST_NO_TRACE to remove /* trace messages */ from queries for testing, and remove trace messages from the sample output.
2013-01-23 10:15:08 -07:00
Daniel Nichter
dbf2ac477e
Add failing tests for bug 918056.
2013-01-23 09:43:41 -07:00
Daniel Nichter
79c716d358
Remove pt-table-sync/issue_79.t (it was broken but coincidentally working) and write better tests in filters.t. Add subs to Sandbox and PerconaTest to clear and parse tables used from the general logs. Set log=genlog in the sandbox configs.
2012-06-07 12:38:45 -04:00
Baron Schwartz
a6431b0554
remove nondeterministic/dangerous stuff, do the sync from table to table on the master only, not touching a slave
2012-06-06 06:25:14 -04:00
Baron Schwartz
6cc17a73c2
A few miscellaneous changes, including a fix for metadata locking and wipe_clean in Sandbox.pm
2012-06-03 17:20:12 -04:00
Daniel Nichter
ec43d0c0aa
Add failing test in bugs.t.
2012-05-22 11:08:20 -06:00
Daniel Nichter
df4662ce51
Compare index names lc but save them in their original case.
2012-02-06 13:29:08 -07:00
Daniel Nichter
520948c14e
Update sample files.
2012-01-05 11:54:27 -07:00
Daniel Nichter
c97e8ec563
Update issue_408.t and update issue_560.t.
2011-12-22 15:50:52 -07:00
Daniel Nichter
b63bc4c26b
Convert pt-table-checksum boundaries to SQL WHERE clauses.
2011-12-22 15:43:15 -07:00
Daniel Nichter
2760322c87
Don't bidi cmp equal rows. Commit if not --lock and using txn. Fix pt-table-sync basics.t.
2011-12-22 12:01:03 -07:00
Daniel Nichter
cfc57c71af
Make pt-table-sync --replicate work with pt-table-checksum 2.0.
2011-12-22 10:10:22 -07:00
Daniel Nichter
b4b6376be1
Add forked Maatkit tools in bin/ and their tests in t/.
2011-06-24 16:02:05 -06:00