Change in osmo-hlr[master]: db upgrade to v2: log version 2, not 1

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Thu Oct 31 03:49:58 UTC 2019


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hlr/+/15910 )


Change subject: db upgrade to v2: log version 2, not 1
......................................................................

db upgrade to v2: log version 2, not 1

Change-Id: I9237b64e5748e693a5f039c5a5554d417eed3633
---
M src/db.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/10/15910/1

diff --git a/src/db.c b/src/db.c
index 5e6b5eb..f3ed863 100644
--- a/src/db.c
+++ b/src/db.c
@@ -311,7 +311,7 @@
 	db_remove_reset(stmt);
 	sqlite3_finalize(stmt);
 	if (rc != SQLITE_DONE) {
-		LOGP(DDB, LOGL_ERROR, "Unable to update HLR database schema to version %d\n", 1);
+		LOGP(DDB, LOGL_ERROR, "Unable to update HLR database schema to version 2\n");
 		return rc;
 	}
 
@@ -322,7 +322,7 @@
 	}
 	rc = sqlite3_step(stmt);
 	if (rc != SQLITE_DONE)
-		LOGP(DDB, LOGL_ERROR, "Unable to update HLR database schema to version %d\n", 1);
+		LOGP(DDB, LOGL_ERROR, "Unable to update HLR database schema to version 2\n");
 
 	db_remove_reset(stmt);
 	sqlite3_finalize(stmt);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/15910
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I9237b64e5748e693a5f039c5a5554d417eed3633
Gerrit-Change-Number: 15910
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191031/4a2ba057/attachment.htm>


More information about the gerrit-log mailing list