diff options
| author | Boris Pavlovic <boris@pavlovic.me> | 2013-02-18 04:45:42 +0400 |
|---|---|---|
| committer | Boris Pavlovic <boris@pavlovic.me> | 2013-02-21 00:40:11 +0400 |
| commit | 621f07952370cd1098813e595f355a63f5a0514e (patch) | |
| tree | ee13368ecf9c9e4ef99ee4ebfdf1bcf2331177fe /tools/enable-pre-commit-hook.sh | |
| parent | cd9447f87290219003abebeae2cec1d2d7dbe544 (diff) | |
Remove race condition (in Networks)
Soft delete all duplicate rows with the same vlan except one with
the biggest value in `id` column.
Create UC on fields (vlan, deleted)
Replace Select then Insert -> Try to Insert.
Fix error in network_update method. We were able to update
vlan to duplicate.
Fix typo in description of method drop_old_duplicate_entries_from_table()
blueprint db-enforce-unique-keys
Change-Id: Ia1b58ab5a5e369a1939de0b5c2f89aee6fc2c40b
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions
