Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
osmo-hlr
/
52ef60fe96a99a8d85fb71514ea829236079b34e
/
src
/
db.c
07e1602
db v4: add column last_lu_seen_ps
by Neels Hofmeyr
· 4 years, 11 months ago
981e126
db upgrade: remove some code dup
by Neels Hofmeyr
· 5 years ago
2f75803
move headers to include/osmocom/hlr
by Neels Hofmeyr
· 4 years, 11 months ago
7f4dd11
db.c: code dup: add db_run_statements() for arrays of statements
by Neels Hofmeyr
· 5 years ago
a8045da
hlr db schema 3: hlr_number -> msc_number
by Neels Hofmeyr
· 5 years ago
a9f8a4b
fix upgrade to version 2: imei column default value
by Neels Hofmeyr
· 5 years ago
f5459de
db upgrade to v2: log version 2, not 1
by Neels Hofmeyr
· 5 years ago
fbd736e
src/db.c: integrate SQLite3 with talloc allocator
by Vadim Yanitskiy
· 6 years ago
c13599d
db_hlr.c: add db_subscr_exists_by_msisdn()
by Vadim Yanitskiy
· 6 years ago
6b73fd9
db_hlr.c: add db_subscr_exists_by_imsi()
by Oliver Smith
· 6 years ago
cd2af5e
db_hlr.c: db_subscr_create(): add flags argument
by Oliver Smith
· 6 years ago
81db389
Add IMEI column to subscriber table
by Oliver Smith
· 6 years ago
638ba8c
store a timestamp of the last location update seen from a subscriber
by Stefan Sperling
· 6 years ago
8f3a7cc
add database schema versioning to the HLR database
by Stefan Sperling
· 6 years ago
a820ea1
implement removal of MSISDN
by Neels Hofmeyr
· 6 years ago
050eb1d
src/db.c: don't ignore the result of db_bootstrap()
by Vadim Yanitskiy
· 6 years ago
dc17e05
src/db.c: fix: make sure the database is properly closed
by Vadim Yanitskiy
· 6 years ago
d3814b9
db_test: don't verify SQLite issued error messages, they might change
by Neels Hofmeyr
· 7 years ago
4f3841c
cosmetic: add comment on ignored return value
by Neels Hofmeyr
· 7 years ago
7750d2c
automatically create db tables on osmo-hlr invocation
by Neels Hofmeyr
· 7 years ago
c5122f2
code undup: use db_bind_text() in db_get_auth_data()
by Neels Hofmeyr
· 7 years ago
1cbdb70
fix db_update_sqn(): reset stmt in all error cases
by Neels Hofmeyr
· 7 years ago
1332a17
add db_subscr_update_aud_by_id(), complete db_subscr_delete_by_id()
by Neels Hofmeyr
· 7 years ago
e50121e
refactor db_subscr_purge
by Neels Hofmeyr
· 7 years ago
dd78305
refactor db_subscr_lu()
by Neels Hofmeyr
· 7 years ago
e8ccd50
refactor db_subscr_ps() to db_subscr_nam()
by Neels Hofmeyr
· 7 years ago
9c2bbc8
add db_subscr_get_by_msisdn() and db_subscr_get_by_id()
by Neels Hofmeyr
· 7 years ago
d7d9697
less noise: simplify db_remove_reset()
by Neels Hofmeyr
· 7 years ago
f7c3e6e
add db_subscr_create(), db_subscr_delete(), db_subscr_update_msisdn_by_imsi()
by Neels Hofmeyr
· 7 years ago
28da26e
add db_bind_int() and db_bind_int64()
by Neels Hofmeyr
· 7 years ago
cd83b8a
cosmetic: don't log about missing SQLite log cb
by Neels Hofmeyr
· 7 years ago
e9c0c5b
cosmetic: log: "SQLite" with capital L
by Neels Hofmeyr
· 7 years ago
0cac0a0
cosmetic: multi-line DB_STMT_AUC_BY_IMSI
by Neels Hofmeyr
· 7 years ago
f314459
cosmetic: refactor db_bind_imsi() as db_bind_text()
by Neels Hofmeyr
· 7 years ago
4bde949
cosmetic: prepend DB_STMT_ to enum stmt_idx entries
by Neels Hofmeyr
· 7 years ago
cab2fcd
UMTS AKA: implement SQN increment according to SEQ and IND
by Neels Hofmeyr
· 8 years ago
3ce3686
Add routines to update nam_ps
by Max
· 8 years ago
58d4a84
Fix compiler's warning about printf security
by Max
· 8 years ago
00b3715
db: move duplicated code into helper functions
by Max
· 8 years ago
7f9491f
main: add option parsing with db file and default options
by Neels Hofmeyr
· 8 years ago
79f7140
fix PURGE_MS sqlite3 access
by Harald Welte
· 8 years ago
abd1a54
db: Use Write-Ahead Logging mode of SQLite3
by Harald Welte
· 8 years ago
e687be5
Major update; Code now supports SAI, LU and ISD transactions
by Harald Welte
· 8 years ago
e72cf55
initial import of osmo-gsup-hlr code so far
by Harald Welte
· 8 years ago