Pt-table-sync and generated (virtual) column error

(Long life to Maatkit)

When syncing a table that contain generated (or virtual) column the tool exits with an error like

The value specified for generated column ‘myColumn’ in table ‘theTable’ has been ignored [for Statement "REPLACE INTO …

It should be nice to have a flag to ignore warning, or skip at all virtual column from those operation.

I tried to give a look in the source code, ( at line 10949 while doing …) but I am not sure how to operate on Perl at the moment.

Do anyone has any suggestion ?

1 Like