nixys / nxs-data-anonymizer

A tool for anonymizing PostgreSQL and MySQL databases' dump
Apache License 2.0
233 stars 10 forks source link

Search for "generated" columns is to greedy #33

Closed eeggenberger closed 2 months ago

eeggenberger commented 4 months ago

I had a problem with a Mysql dump where one column wasn't processed properly. It looked like this in the CREATE TABLE statement:

  `provider` varchar(50) CHARACTER SET ascii NOT NULL DEFAULT 'system' COMMENT 'The name of the module that generated this link.',

Looks like dhCreateTableColumnAdd searches for the GENERATED keyword, but doesn't care if it is an option for the column or just part of the comment.

borisershov commented 3 months ago

Hi! Your issue will be fixed in next release

borisershov commented 2 months ago

Hi! Fixed in v1.10.1