Details
-
Bug
-
Status: Done
-
Low
-
Resolution: Fixed
-
3.1.0
-
None
-
Yes
-
0
Description
The maxium possible length of a constraint name is 64. When --alter-foreign-keys-method=rebuild_constraints used, pt-online-schema-change just adds `_`-character following the below logic:
if ($fk =~ /^__/) { ($new_fk = $fk) =~ s/^__//; } else { $new_fk = '_'.$fk; }