You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just checked the target table because it was suspicious to me that I got 4 errors for duplicate PK when I set it to insert 10 records. For some reason, it tried to insert 4 rows with value 1, which exists, but it then did insert 6 new rows starting from the correct AUTO_INCREMENT, which was actually 22 (so I got 6 new rows 22-27). Pretty weird?
sqlfuzz expects a table to be completely clean, so if a table already contains some data it then fails:
In my case, i can't have a completely empty table/database due to various constrains, but I do want to add e.g. 100k new records.
SHOW CREATE TABLE
table spits outAUTO_INCREMENT=XX
soXX
should be the starting point instead of1
.The text was updated successfully, but these errors were encountered: