zedalaye / fbclone

A wonderful tool to take care of your Firebird databases
33 stars 19 forks source link

option -e does not work #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pump data to a new database
2. pump the same data to the same new database (without recreating it) and 
specify -e to delete the existing rows
3. this will fail when fbclone tries to activate primary keys

This is because the operator used in fbclone.cloner.pas line 274 is wrong. The 
operator used is the superset ">=" operator, it sould be the subset operator 
"<=".

Original issue reported on code.google.com by j.st...@demig.de on 16 Nov 2012 at 11:24