[sr-dev] module related crash
Juha Heinanen
jh at tutpro.com
Mon Oct 1 13:56:10 CEST 2018
Daniel-Constantin Mierla writes:
> This update with new database types DB1_UINT and DB1_UBIGINT started on
> Friday. I expected that only insert/updates with high values to be
> affected, but it seems that loading is also hit.
So, for example, below DB1_INT should be changed to DB1_UNIT and VAL_INT
to VAL_UNIT?
-- Juha
----------------------------------------------------------
if(VAL_NULL(ROW_VALUES(row) + 11)) {
defunct_until = 0;
} else {
if(VAL_TYPE(ROW_VALUES(row) + 11) != DB1_INT) {
LM_ERR("lcr_gw defunct at row <%u> is not int\n", i);
return 0;
}
defunct_until = (unsigned int)VAL_INT(ROW_VALUES(row) + 11);
if(defunct_until > 4294967294UL) {
LM_DBG("skipping disabled gw <%u>\n", gw_id);
continue;
}
}
More information about the sr-dev
mailing list