Projects
osmocom:master
osmo-hlr
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 53
View file
commit_1a71e73fdc40ba712ab61a299c9d4a048df539a2.txt
Added
View file
commit_bb8591dfab0eb49f418f06b9ceaef430e3306b6c.txt
Deleted
View file
osmo-hlr_1.9.0.1.bb85.dsc
Deleted
@@ -1,26 +0,0 @@ -Format: 3.0 (native) -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.1.bb85 -Maintainer: Osmocom team <openbsc@lists.osmocom.org> -Homepage: https://projects.osmocom.org/projects/osmo-hlr -Standards-Version: 3.9.6 -Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr -Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr -Build-Depends: debhelper (>= 10), pkg-config, dh-autoreconf, autotools-dev, python3-minimal, libosmocore-dev (>= 1.11.0), libosmo-abis-dev (>= 2.0.0), libosmo-netif-dev (>= 1.6.0), libsqlite3-dev, sqlite3, osmo-gsm-manuals-dev (>= 1.6.0) -Package-List: - libosmo-gsup-client-dev deb net optional arch=any - libosmo-gsup-client0 deb libs optional arch=any - libosmo-mslookup-dev deb net optional arch=any - libosmo-mslookup1 deb libs optional arch=any - osmo-hlr deb net optional arch=any - osmo-hlr-dbg deb debug extra arch=any - osmo-hlr-doc deb doc optional arch=all - osmo-mslookup-utils deb utils optional arch=any -Checksums-Sha1: - 8b7f71d9f9d9232ea7bfb58a8d8f10c5473502c5 178292 osmo-hlr_1.9.0.1.bb85.tar.xz -Checksums-Sha256: - 5de5757403702139192a81a430a5c2db58bda0fd4422f4fb83f601a943f50904 178292 osmo-hlr_1.9.0.1.bb85.tar.xz -Files: - 015aa8aa9c615f6716a714aa0eaffed9 178292 osmo-hlr_1.9.0.1.bb85.tar.xz
View file
osmo-hlr_1.9.0.2.1a71.dsc
Added
@@ -0,0 +1,26 @@ +Format: 3.0 (native) +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.2.1a71 +Maintainer: Osmocom team <openbsc@lists.osmocom.org> +Homepage: https://projects.osmocom.org/projects/osmo-hlr +Standards-Version: 3.9.6 +Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr +Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr +Build-Depends: debhelper (>= 10), pkg-config, dh-autoreconf, autotools-dev, python3-minimal, libosmocore-dev (>= 1.11.0), libosmo-abis-dev (>= 2.0.0), libosmo-netif-dev (>= 1.6.0), libsqlite3-dev, sqlite3, osmo-gsm-manuals-dev (>= 1.6.0) +Package-List: + libosmo-gsup-client-dev deb net optional arch=any + libosmo-gsup-client0 deb libs optional arch=any + libosmo-mslookup-dev deb net optional arch=any + libosmo-mslookup1 deb libs optional arch=any + osmo-hlr deb net optional arch=any + osmo-hlr-dbg deb debug extra arch=any + osmo-hlr-doc deb doc optional arch=all + osmo-mslookup-utils deb utils optional arch=any +Checksums-Sha1: + c5a1dbeca110e16ce1ceb63548fff3ecdcf837d4 178368 osmo-hlr_1.9.0.2.1a71.tar.xz +Checksums-Sha256: + a8c224aa93d92f60f5704da007837c06bc415c09c9bb3dd21cef5c14abd49f4b 178368 osmo-hlr_1.9.0.2.1a71.tar.xz +Files: + 9a6ea94fab237869e8a09fb54ae80440 178368 osmo-hlr_1.9.0.2.1a71.tar.xz
View file
osmo-hlr_1.9.0.1.bb85.tar.xz/.tarball-version -> osmo-hlr_1.9.0.2.1a71.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.9.0.1-bb85 +1.9.0.2-1a71
View file
osmo-hlr_1.9.0.1.bb85.tar.xz/debian/changelog -> osmo-hlr_1.9.0.2.1a71.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-hlr (1.9.0.1.bb85) unstable; urgency=medium +osmo-hlr (1.9.0.2.1a71) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Wed, 05 Mar 2025 15:00:50 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Tue, 18 Mar 2025 08:51:29 +0000 osmo-hlr (1.9.0) unstable; urgency=medium
View file
osmo-hlr_1.9.0.1.bb85.tar.xz/src/db.c -> osmo-hlr_1.9.0.2.1a71.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,
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
.