Fixes #484 in public. We now cache failed RRLP queries per-IMEI in the SR. This also means that the SR now stores the most recent IMEI for a specific IMSI.

git-svn-id: http://wush.net/svn/range/software/public/subscriberRegistry/trunk@3146 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
Kurtis Heimerl 2012-02-04 23:29:12 +00:00
parent 125fe8a13d
commit c508a0ff0c
2 changed files with 5 additions and 0 deletions

View File

@ -145,6 +145,7 @@ static const char* createSBTable = {
"ki varchar(33) default '', "
"kc varchar(33) default '', "
"RRLPSupported int(1) default 1 not null, "
"hardware VARCHAR(20), "
"regTime INTEGER default 0 NOT NULL, " // Unix time of most recent registration
"a3_a8 varchar(45) default NULL"
")"

View File

@ -90,6 +90,10 @@ rand varchar(33) default '',
sres varchar(33) default '',
ki varchar(33) default '',
kc varchar(33) default '',
RRLPSupported int(1) default 1 not null,
hardware VARCHAR(20),
regTime INTEGER default 0 NOT NULL"
a3_a8 varchar(45) default NULL
primary key(id)
)
;