Changes of Revision 53

commit_1a71e73fdc40ba712ab61a299c9d4a048df539a2.txt Added
commit_bb8591dfab0eb49f418f06b9ceaef430e3306b6c.txt Deleted
osmo-hlr_1.9.0.1.bb85.dsc Deleted
x
 
1
@@ -1,26 +0,0 @@
2
-Format: 3.0 (native)
3
-Source: osmo-hlr
4
-Binary: osmo-hlr, osmo-hlr-dbg, libosmo-gsup-client0, libosmo-gsup-client-dev, libosmo-mslookup1, libosmo-mslookup-dev, osmo-mslookup-utils, osmo-hlr-doc
5
-Architecture: any all
6
-Version: 1.9.0.1.bb85
7
-Maintainer: Osmocom team <openbsc@lists.osmocom.org>
8
-Homepage: https://projects.osmocom.org/projects/osmo-hlr
9
-Standards-Version: 3.9.6
10
-Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr
11
-Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr
12
-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)
13
-Package-List:
14
- libosmo-gsup-client-dev deb net optional arch=any
15
- libosmo-gsup-client0 deb libs optional arch=any
16
- libosmo-mslookup-dev deb net optional arch=any
17
- libosmo-mslookup1 deb libs optional arch=any
18
- osmo-hlr deb net optional arch=any
19
- osmo-hlr-dbg deb debug extra arch=any
20
- osmo-hlr-doc deb doc optional arch=all
21
- osmo-mslookup-utils deb utils optional arch=any
22
-Checksums-Sha1:
23
- 8b7f71d9f9d9232ea7bfb58a8d8f10c5473502c5 178292 osmo-hlr_1.9.0.1.bb85.tar.xz
24
-Checksums-Sha256:
25
- 5de5757403702139192a81a430a5c2db58bda0fd4422f4fb83f601a943f50904 178292 osmo-hlr_1.9.0.1.bb85.tar.xz
26
-Files:
27
- 015aa8aa9c615f6716a714aa0eaffed9 178292 osmo-hlr_1.9.0.1.bb85.tar.xz
28
osmo-hlr_1.9.0.2.1a71.dsc Added
28
 
1
@@ -0,0 +1,26 @@
2
+Format: 3.0 (native)
3
+Source: osmo-hlr
4
+Binary: osmo-hlr, osmo-hlr-dbg, libosmo-gsup-client0, libosmo-gsup-client-dev, libosmo-mslookup1, libosmo-mslookup-dev, osmo-mslookup-utils, osmo-hlr-doc
5
+Architecture: any all
6
+Version: 1.9.0.2.1a71
7
+Maintainer: Osmocom team <openbsc@lists.osmocom.org>
8
+Homepage: https://projects.osmocom.org/projects/osmo-hlr
9
+Standards-Version: 3.9.6
10
+Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr
11
+Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr
12
+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)
13
+Package-List:
14
+ libosmo-gsup-client-dev deb net optional arch=any
15
+ libosmo-gsup-client0 deb libs optional arch=any
16
+ libosmo-mslookup-dev deb net optional arch=any
17
+ libosmo-mslookup1 deb libs optional arch=any
18
+ osmo-hlr deb net optional arch=any
19
+ osmo-hlr-dbg deb debug extra arch=any
20
+ osmo-hlr-doc deb doc optional arch=all
21
+ osmo-mslookup-utils deb utils optional arch=any
22
+Checksums-Sha1:
23
+ c5a1dbeca110e16ce1ceb63548fff3ecdcf837d4 178368 osmo-hlr_1.9.0.2.1a71.tar.xz
24
+Checksums-Sha256:
25
+ a8c224aa93d92f60f5704da007837c06bc415c09c9bb3dd21cef5c14abd49f4b 178368 osmo-hlr_1.9.0.2.1a71.tar.xz
26
+Files:
27
+ 9a6ea94fab237869e8a09fb54ae80440 178368 osmo-hlr_1.9.0.2.1a71.tar.xz
28
osmo-hlr_1.9.0.1.bb85.tar.xz/.tarball-version -> osmo-hlr_1.9.0.2.1a71.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-1.9.0.1-bb85
3
+1.9.0.2-1a71
4
osmo-hlr_1.9.0.1.bb85.tar.xz/debian/changelog -> osmo-hlr_1.9.0.2.1a71.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-osmo-hlr (1.9.0.1.bb85) unstable; urgency=medium
3
+osmo-hlr (1.9.0.2.1a71) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Wed, 05 Mar 2025 15:00:50 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Tue, 18 Mar 2025 08:51:29 +0000
9
 
10
 osmo-hlr (1.9.0) unstable; urgency=medium
11
 
12
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
38
 
1
@@ -595,6 +595,7 @@
2
    int rc;
3
    bool has_sqlite_config_sqllog = false;
4
    int version;
5
+   bool version_changed = false;
6
 
7
    LOGP(DDB, LOGL_NOTICE, "using database: %s\n", fname);
8
    LOGP(DDB, LOGL_INFO, "Compiled against SQLite3 lib version %s\n", SQLITE_VERSION);
9
@@ -672,6 +673,7 @@
10
            goto out_free;
11
        }
12
        version = CURRENT_SCHEMA_VERSION;
13
+       version_changed = true;
14
    }
15
 
16
    LOGP(DDB, LOGL_NOTICE, "Database '%s' has HLR DB schema version %d\n", dbc->fname, version);
17
@@ -686,6 +688,7 @@
18
        }
19
        LOGP(DDB, LOGL_NOTICE, "Database '%s' has been upgraded to HLR DB schema version %d\n",
20
             dbc->fname, version+1);
21
+       version_changed = true;
22
    }
23
 
24
    if (version != CURRENT_SCHEMA_VERSION) {
25
@@ -702,6 +705,12 @@
26
        goto out_free;
27
    }
28
 
29
+   /* Flush the cache after changing the version, to make the scenario
30
+    * less likely that after an unclean shutdown the DB gets restored
31
+    * with the right table layout but wrong version (SYS#7394). */
32
+   if (version_changed)
33
+       sqlite3_db_cacheflush(dbc->db);
34
+
35
    /* prepare all SQL statements */
36
    for (i = 0; i < ARRAY_SIZE(dbc->stmt); i++) {
37
        rc = sqlite3_prepare_v2(dbc->db, stmt_sqli, -1,
38