Details
-
Bug
-
Status: Done
-
Medium
-
Resolution: Done
-
8.0.x
-
None
Description
Data masking gen_rnd_us_phone() function has different format compared to upstream. Function gen_rnd_us_phone() returns the generated US phone number as described in the docs.
Looks like our implementation is missing a - between 2nd and 3rd group of numbers:
mysql> SELECT gen_rnd_us_phone(); +--------------------+ | gen_rnd_us_phone() | +--------------------+ | 1-555607-1005 | +--------------------+ 1 row in set (0.00 sec) mysql> SELECT gen_rnd_us_phone(); +--------------------+ | gen_rnd_us_phone() | +--------------------+ | 1-555635-5709 | +--------------------+ 1 row in set (0.00 sec)
Compared to upstream:
mysql> SELECT gen_rnd_us_phone(); +--------------------+ | gen_rnd_us_phone() | +--------------------+ | 1-555-747-5627 | +--------------------+
Attachments
Issue Links
- is triggered by
-
PS-5793 Data masking plugin
-
- Done
-