openbsc.git branch master updated. 0.15.0-261-ga8d8e93

gitosis at osmocom.org gitosis at osmocom.org
Sun May 15 19:31:33 UTC 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".

The branch, master has been updated
       via  a8d8e93086580904aded88ffb957a6e7e3660cbe (commit)
      from  34e2b0927801463fc3dbb5d8f9eec3ae01f9501d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=a8d8e93086580904aded88ffb957a6e7e3660cbe

commit a8d8e93086580904aded88ffb957a6e7e3660cbe
Author: Vadim Yanitskiy <axilirator at gmail.com>
Date:   Fri May 13 15:38:09 2016 +0600

    db.c: implemented incremental migration
    
    In the past, normal migration was possible only if the actual
    schema version differed from the version used in DB by 1. For
    example, if DB uses an old version 3 and you need to use it
    with the code written for version 5, the check_db_revision()
    will convert it to 4 and DB will still use incompatible schema
    version during Osmo-NITB running time. After next run it will
    be converted to version 5.
    
    This patch replaces a set of 'else-if' checks by a 'switch'
    without 'break' statements between 'case' labels (waterfall).
    It makes you able to migrate from current version to the
    latest despite any difference between them.
    
    Change-Id: Ia9c2aa86f96b88ad8a710d0a23879ce219bc82dc
    Reviewed-on: https://gerrit.osmocom.org/62
    Tested-by: Jenkins Builder
    Reviewed-by: Holger Freyther <holger at freyther.de>

-----------------------------------------------------------------------

Summary of changes:
 openbsc/src/libmsc/db.c | 53 ++++++++++++++++++++++++++++++++-----------------
 1 file changed, 35 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)



More information about the osmocom-commitlog mailing list