Carlos Salguero
1d1c13fbcb
WIP
2018-01-16 11:11:16 -03:00
Carlos Salguero
6742025dd0
PT-209 Check adding FKs to a RocksDB table
2017-11-13 16:07:12 -03:00
Carlos Salguero
b51d09d811
PT-202 pt-online-schema-change fails with virtual columns
...
Modified TableParser to ignore GENERATED columns from the columns list
used to construct SELECTs/INSERTs
2017-10-05 15:19:57 -03:00
Carlos Salguero
c375fd068b
PT-193 Fixed regex in TableParser
...
TableParser's parse function was failing while trying to lowercase
column names in the provided 'SHOW CREATE TABLE'.
The problem was it was trying to lowercase everything between backticks
but lines like these:
`field_name` int comment "here is a ` in the comment"
`second_field_name` int
made the original regex to fail, matching `in the coment"` as an
expression to be lowercased while second_file_name was considered as
outside backticks.
2017-08-14 21:01:30 -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
frank-cizmich
2134e3f1b4
Merge branch 'handle-literal-backticks-lp-1462904' into release-2.2.15
2015-09-08 15:45:39 -03:00
frank-cizmich
b408fcfd01
misc test and sandbox fixes
2015-08-03 17:26:51 -03:00
Daniel Nichter
32dba7e7f2
Test and fix parsing literal backticks in TableParser:parse() (lp 1462904).
2015-06-25 13:20:00 -07:00
Brian Fraser
511a402911
Merged fix-1047335-crashed-tables
2012-11-09 13:48:17 -03:00
Brian Fraser
173a5766be
Fixes per Daniel's review
2012-11-09 12:07:14 -03:00
Daniel Nichter
a0cd575c95
Merge fix-1009510-1039569-ptc-check-table-on-replicas
2012-11-05 10:54:21 -07:00
Daniel Nichter
0cffac95de
Simplify how ptc checks slave tables. Move that code from TableParser to pt_table_checksum::check_slave_tables. Change --[no]check-replicate-table-columns to --[no]check-slave-tables. Move tests to error_handling.t.
2012-11-02 15:22:47 -06:00
Brian Fraser
35f5f8d1e4
Fix for 1047335: SchemaIterator fails when it encounters a crashed table
2012-10-30 18:35:49 -03:00
Daniel Nichter
4a494d1a20
Remove all_privs tests. Update Percona::Toolkit::VERSION.
2012-10-20 17:59:28 -06:00
Brian Fraser
c444384c6c
Fix for 1009510 and 1039569: pt-table-checksum doesn't check that tables exist on all replicas / shouldn't die if it can't create db/table
2012-08-23 03:14:14 -03:00
Baron Schwartz
f7c97e749e
Make TableParser.pm handle ANSI quotes
2012-06-07 00:59:59 -04:00
Baron Schwartz
b9304dabb5
Fix a number of SQL queries to work with ANSI_QUOTES
2012-06-06 23:14:20 -04:00
Daniel Nichter
dac0731251
Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves().
2012-06-07 10:25:44 -04:00
Daniel Nichter
04d6a51074
Fix TableParser.t modifying mysql.user and mysql.db, and pt-online-schema-change/basics.t modifying mysql.proc.
2012-06-05 11:51:33 -07:00
Daniel Nichter
bdbb66d22b
Re-add calls to Sandbox::ok().
2012-06-03 13:54:32 -04:00
Daniel Nichter
8e9e8eb7a6
Test and fix space-flattening bug.
2012-02-21 13:22:56 -07:00
Daniel Nichter
c40e5db1bf
Fix lib tests for MySQL 5.0.
2012-02-02 10:56:55 -07:00
Daniel Nichter
756142c1d1
Remove MySQLDump; move get_create_table() and get_table_status() to TableParser and remove saving results in each function.
2011-09-15 09:39:32 -06:00
Daniel Nichter
b805f7c92d
Remove $Revision$ and finish re-branding modules. Rename MaatkitTest.pm to PerconaTest.pm. Put copyrights on one line.
2011-07-12 15:47:07 -06:00
Daniel Nichter
6c501128e6
Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.
2011-06-24 11:22:06 -06:00