diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-11-05 02:00:19 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2019-11-25 13:13:18 +0100 |
commit | 981e126686e1e3e05192b8d34b95be4935dfb8f0 (patch) | |
tree | 7910561e17d5d9184404708821004e941830a5c1 /src/gsup_server.c | |
parent | 7143f3a0cbf06a381651450335ac791da714db5a (diff) |
db upgrade: remove some code dup
Instead of a switch() for each version number with identical switch cases
except for the function name, use an array of function pointers and loop.
Also print a success message after each individual version upgrade, instead of
only one in the end (see change in db_upgrade_test.ok).
Change-Id: I1736af3d9a3f02e29db836966ac15ce49f94737b
Diffstat (limited to 'src/gsup_server.c')
0 files changed, 0 insertions, 0 deletions