Projects
osmocom:latest
osmo-hlr
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 10
View file
osmo-hlr_1.9.0.dsc -> osmo-hlr_1.9.1.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-hlr Binary: osmo-hlr, osmo-hlr-dbg, libosmo-gsup-client0, libosmo-gsup-client-dev, libosmo-mslookup1, libosmo-mslookup-dev, osmo-mslookup-utils, osmo-hlr-doc Architecture: any all -Version: 1.9.0 +Version: 1.9.1 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-hlr Standards-Version: 3.9.6 @@ -19,8 +19,8 @@ osmo-hlr-doc deb doc optional arch=all osmo-mslookup-utils deb utils optional arch=any Checksums-Sha1: - 0c08465093e59a66772df776ce31aa14c26de4c7 178248 osmo-hlr_1.9.0.tar.xz + f056725526af6cbb3fee2b362206c040e0753024 178408 osmo-hlr_1.9.1.tar.xz Checksums-Sha256: - 6f38d9f59f81e41b0125daa6d49be461b3a60fcdd4cfd091e70559cf46a82e74 178248 osmo-hlr_1.9.0.tar.xz + 9d882c417b3b2be667a97eb3b751142a2123c01ec69f1fca88e5aa504a6ad8e2 178408 osmo-hlr_1.9.1.tar.xz Files: - d96574b43521b9c5138b6ce6c0613d91 178248 osmo-hlr_1.9.0.tar.xz + 595f2cd8974666d97a2800ead7f72f39 178408 osmo-hlr_1.9.1.tar.xz
View file
osmo-hlr_1.9.0.tar.xz/.tarball-version -> osmo-hlr_1.9.1.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.9.0 +1.9.1
View file
osmo-hlr_1.9.0.tar.xz/debian/changelog -> osmo-hlr_1.9.1.tar.xz/debian/changelog
Changed
@@ -1,3 +1,13 @@ +osmo-hlr (1.9.1) unstable; urgency=medium + + Pau Espin Pedrol + * Drop use of deprecated vty is_config_node() cb + + Oliver Smith + * db: flush after changing schema version + + -- Oliver Smith <osmith@sysmocom.de> Wed, 02 Apr 2025 15:12:35 +0200 + osmo-hlr (1.9.0) unstable; urgency=medium Vadim Yanitskiy
View file
osmo-hlr_1.9.0.tar.xz/include/osmocom/hlr/hlr_vty.h -> osmo-hlr_1.9.1.tar.xz/include/osmocom/hlr/hlr_vty.h
Changed
@@ -48,7 +48,6 @@ #define A38_COMP128_KEY_LEN 16 #define MILENAGE_KEY_LEN 16 -int hlr_vty_is_config_node(struct vty *vty, int node); int hlr_vty_go_parent(struct vty *vty); void hlr_vty_init(void *hlr_ctx); void dgsm_vty_init(void);
View file
osmo-hlr_1.9.0.tar.xz/src/db.c -> osmo-hlr_1.9.1.tar.xz/src/db.c
Changed
@@ -595,6 +595,7 @@ int rc; bool has_sqlite_config_sqllog = false; int version; + bool version_changed = false; LOGP(DDB, LOGL_NOTICE, "using database: %s\n", fname); LOGP(DDB, LOGL_INFO, "Compiled against SQLite3 lib version %s\n", SQLITE_VERSION); @@ -672,6 +673,7 @@ goto out_free; } version = CURRENT_SCHEMA_VERSION; + version_changed = true; } LOGP(DDB, LOGL_NOTICE, "Database '%s' has HLR DB schema version %d\n", dbc->fname, version); @@ -686,6 +688,7 @@ } LOGP(DDB, LOGL_NOTICE, "Database '%s' has been upgraded to HLR DB schema version %d\n", dbc->fname, version+1); + version_changed = true; } if (version != CURRENT_SCHEMA_VERSION) { @@ -702,6 +705,12 @@ goto out_free; } + /* Flush the cache after changing the version, to make the scenario + * less likely that after an unclean shutdown the DB gets restored + * with the right table layout but wrong version (SYS#7394). */ + if (version_changed) + sqlite3_db_cacheflush(dbc->db); + /* prepare all SQL statements */ for (i = 0; i < ARRAY_SIZE(dbc->stmt); i++) { rc = sqlite3_prepare_v2(dbc->db, stmt_sqli, -1,
View file
osmo-hlr_1.9.0.tar.xz/src/hlr.c -> osmo-hlr_1.9.1.tar.xz/src/hlr.c
Changed
@@ -754,7 +754,6 @@ .name = "OsmoHLR", .version = PACKAGE_VERSION, .copyright = vlr_copyright, - .is_config_node = hlr_vty_is_config_node, .go_parent_cb = hlr_vty_go_parent, };
View file
osmo-hlr_1.9.0.tar.xz/src/hlr_vty.c -> osmo-hlr_1.9.1.tar.xz/src/hlr_vty.c
Changed
@@ -881,18 +881,6 @@ return vty->node; } -int hlr_vty_is_config_node(struct vty *vty, int node) -{ - switch (node) { - /* add items that are not config */ - case CONFIG_NODE: - return 0; - - default: - return 1; - } -} - void hlr_vty_init(void *hlr_ctx) { cfg_reject_cause_cmd.string =
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.