Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Replace all values inside of IN() lists #42

Closed
debeando opened this issue Sep 5, 2018 · 0 comments
Closed

Replace all values inside of IN() lists #42

debeando opened this issue Sep 5, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@debeando
Copy link
Collaborator

debeando commented Sep 5, 2018

To follow the same fingerprint to pt-query-digest. Replace all literals inside of IN() lists with a single placeholder, regardless of cardinality.

Related issues: #37

For example;

SELECT name FROM user WHERE id IN (?, ?, ?, ?, ?, ?);

To:

SELECT name FROM user WHERE id IN (?);
@debeando debeando changed the title Replace all literals inside of IN() and VALUES() lists with a single placeholder Replace all literals inside of IN() and VALUES() lists Sep 5, 2018
@debeando debeando added the enhancement New feature or request label Sep 5, 2018
@debeando debeando self-assigned this Sep 5, 2018
@debeando debeando changed the title Replace all literals inside of IN() and VALUES() lists Replace all values inside of IN() and VALUES() lists Sep 5, 2018
@debeando debeando changed the title Replace all values inside of IN() and VALUES() lists Replace all values inside of IN() lists Sep 6, 2018
@debeando debeando closed this as completed Sep 6, 2018
@debeando debeando removed their assignment Sep 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

0 participants