lathonez / clone-row

Python utility to clone a row in mysql, from a target to source database, field by field
http://lathonez.com/2016/clone-row/
MIT License
7 stars 1 forks source link

Ensure prepared statements are used everywhere #13

Open lathonez opened 7 years ago

lathonez commented 7 years ago

https://github.com/lathonez/clone-row/blob/master/CloneRow.py#L203-L207

Should be using a prep statement for the user input, as per:

https://github.com/lathonez/clone-row/blob/master/CloneRow.py#L632

Also: https://github.com/lathonez/clone-row/blob/master/CloneRow.py#L547

cc @wulfsolter