Change in osmo-hlr[master]: Add IMEI column to subscriber table

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 Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Jan 14 16:58:10 UTC 2019


Neels Hofmeyr has posted comments on this change. ( https://gerrit.osmocom.org/12525 )

Change subject: Add IMEI column to subscriber table
......................................................................


Patch Set 3: Code-Review-1

(5 comments)

https://gerrit.osmocom.org/#/c/12525/3//COMMIT_MSG
Commit Message:

https://gerrit.osmocom.org/#/c/12525/3//COMMIT_MSG@15
PS3, Line 15: to operate with databases which are not upgraded.
(would suffice to just say "upgrade the db schema to version N", no need to explain the general upgrade semantics)


https://gerrit.osmocom.org/#/c/12525/3//COMMIT_MSG@21
PS3, Line 21: order of the columns in the tables.
hm, slightly ugly, but ok, shouldn't make a difference


https://gerrit.osmocom.org/#/c/12525/3//COMMIT_MSG@28
PS3, Line 28: specification.
also mention that the subscr_get_by_imei() is used by commit "VTY: Integrate IMEI" with change-id.
(Because when I reviewed this, I first thought that function was dead code.)


https://gerrit.osmocom.org/#/c/12525/3/src/db.h
File src/db.h:

https://gerrit.osmocom.org/#/c/12525/3/src/db.h@76
PS3, Line 76: 	char		imei[32];
GSM23003_IMEI_NUM_DIGITS + 1


https://gerrit.osmocom.org/#/c/12525/3/src/db_hlr.c
File src/db_hlr.c:

https://gerrit.osmocom.org/#/c/12525/3/src/db_hlr.c@392
PS3, Line 392:  * \param[in] imei  ASCII string of identifier digits, or NULL to remove the IMEI.
test passing NULL as arg to remove IMEI; then also the remainder of the expected test output would be unchanged (with the IMEI removed again)



-- 
To view, visit https://gerrit.osmocom.org/12525
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If232c80bea35d5c6864b889ae92d477eeaa3f45d
Gerrit-Change-Number: 12525
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Comment-Date: Mon, 14 Jan 2019 16:58:10 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190114/5ebbb491/attachment.htm>


More information about the gerrit-log mailing list