import csv/ truncate destination table before import

BubikolRamios's profile image BubikolRamios posted 12 years ago in Import/Export Permalink
I would like to have warning box to pop up with continue yes/no on that action.

Same as at drop table.
BubikolRamios's profile image BubikolRamios posted 12 years ago Permalink
That is coz HSQL rememberes that setting from previous action ,possibly on other table, and you can overlook that.
ansgar's profile image ansgar posted 12 years ago Permalink
I think it's better to uncheck the checkbox everytime the dialog shows up, and not to store its state at all. So, the user must explicitly check it manually, which is a bit less annoying than a warning popup.
BubikolRamios's profile image BubikolRamios posted 12 years ago Permalink
Either way better than now. Mybe a red frame (or something other wisualy notable) around that check box would be then in order, to point out that state is not saved.
Code modification/commit from ansgar.becker, 12 years ago, revision 7.0.0.4203
Text import: Uncheck critical "Truncate table" checkbox, to avoid accidental data removal. See http://www.heidisql.com/forum.php?t=11260
ansgar's profile image ansgar posted 12 years ago Permalink
r4203 does not restore a checked "Truncate table" checkbox.

Please login to leave a reply, or register at first.