Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db: don't enter into db_upgrades table on every startup.
Below this code appears: if (current != orig) db_exec(__func__, db, "INSERT INTO db_upgrades VALUES (%i, '%s');", orig, version()); But since the loop pre-increments current, this is always true. I wondered why there were so many duplicates in my db_upgrades table! Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information