[Issue#] LINUXWRT-657
[Bug] Update clause missing where statement
[Cause] N/A
[Solution] Add where statement
[Verification] Install tct-behaviour widget from TCTManager package. This widget should be able to be installed(reinstalled) several times.
Run: wrt-installer -i [.wgt] several times in row (Previous version throwed exception from security dao).
Change-Id: I567a34a4442482143750bf3bc3cd86af8de07554
SECURITY_ORIGIN_DB_UPDATE(update,
SecurityOriginInfo,
&m_securityOriginDBInterface);
+ update->Where(And(And(And(Equals<SecurityOriginInfo::feature>(securityOriginData.feature),
+ Equals<SecurityOriginInfo::scheme>(securityOriginData.origin.scheme)),
+ Equals<SecurityOriginInfo::host>(securityOriginData.origin.host)),
+ Equals<SecurityOriginInfo::port>(securityOriginData.origin.port)));
update->Values(row);
update->Execute();
} else {